wx.lib.graphics.GraphicsGradientStop¶
This class represents a single color-stop in a gradient brush. The position is a floating point value between zero and 1.0 which represents the distance between the gradient’s starting point and ending point.
Class Hierarchy¶
Methods Summary¶
Initialize self. See help(type(self)) for accurate signature. |
|
Properties Summary¶
Class API¶
- class GraphicsGradientStop(object)¶
This class represents a single color-stop in a gradient brush. The position is a floating point value between zero and 1.0 which represents the distance between the gradient’s starting point and ending point.
Methods¶
- __init__(self, colour=wx.TransparentColour, pos=0.0)¶
Initialize self. See help(type(self)) for accurate signature.
- GetColour(self)¶
- GetPosition(self)¶
- SetColour(self, value)¶
- SetPosition(self, value)¶
Properties¶
- Position¶
See
SetPosition
,GetPosition