Shader.GradientInfo

class GradientInfo

Methods

__init__

__init__(self: skia.Shader.GradientInfo) -> None

Attributes

fColorCount

In-out parameter, specifies passed size.

fColorOffsets

The unit offset for color transitions.

fColors

The colors in the gradient.

fGradientFlags

see GradientShader.Flags

fPoint

Type specific, see above.

fRadius

Type specific, see above.

fTileMode

Methods

GradientInfo.__init__(self: skia.Shader.GradientInfo) None

__init__(self: skia.Shader.GradientInfo) -> None

Attributes

GradientInfo.fColorCount

In-out parameter, specifies passed size.

GradientInfo.fColorOffsets

The unit offset for color transitions.

GradientInfo.fColors

The colors in the gradient.

GradientInfo.fGradientFlags

see GradientShader.Flags

GradientInfo.fPoint

Type specific, see above.

GradientInfo.fRadius

Type specific, see above.

GradientInfo.fTileMode