FontParameters.Variation.Axis

class Axis

Methods

__init__

__init__(self: skia.FontParameters.Variation.Axis) -> None

isHidden

Return whether this axis is recommended to be remain hidden in user interfaces.

setHidden

Set this axis to be remain hidden in user interfaces.

Attributes

def

Default value set by this axis.

max

Maximum value supported by this axis.

min

Minimum value supported by this axis.

tag

Four character identifier of the font axis (weight, width, slant, italic…).

Methods

Axis.__init__(self: skia.FontParameters.Variation.Axis) None

__init__(self: skia.FontParameters.Variation.Axis) -> None

Axis.isHidden(self: skia.FontParameters.Variation.Axis) bool

Return whether this axis is recommended to be remain hidden in user interfaces.

Axis.setHidden(self: skia.FontParameters.Variation.Axis, hidden: bool) None

Set this axis to be remain hidden in user interfaces.

Attributes

Axis.def

Default value set by this axis.

Axis.max

Maximum value supported by this axis. The maximum can equal the minimum.

Axis.min

Minimum value supported by this axis.

Axis.tag

Four character identifier of the font axis (weight, width, slant, italic…).