wx.lib.graphics.GraphicsGradientStops¶
An ordered collection of gradient color stops
(i.e. a GraphicsGradientStop
) for a gradient brush. There is
always at least the starting stop and the ending stop in the collection.
Class Hierarchy¶
Methods Summary¶
Initialize self. See help(type(self)) for accurate signature. |
|
Add a new color to the collection. |
|
Properties Summary¶
Class API¶
- class GraphicsGradientStops(object)¶
An ordered collection of gradient color stops (i.e. a
GraphicsGradientStop
) for a gradient brush. There is always at least the starting stop and the ending stop in the collection.
Methods¶
- __init__(self, startColour=wx.TransparentColour, endColour=wx.TransparentColour)¶
Initialize self. See help(type(self)) for accurate signature.
- Add(self, \*args)¶
Add a new color to the collection.
args
may be either a gradient stop, or a colour and position.
- GetCount(self)¶
- GetEndColour(self)¶
- GetStartColour(self)¶
- Item(self, n)¶
- SetEndColour(self, col)¶
- SetStartColour(self, col)¶
Properties¶
- EndColour¶
See
SetEndColour
,GetEndColour
- StartColour¶
See
SetStartColour
,GetStartColour