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.
Methods Summary¶__init__ |
|
Add |
Add a new color to the collection. args may be either a gradient stop, |
GetCount |
|
GetEndColour |
|
GetStartColour |
|
Item |
|
SetEndColour |
|
SetStartColour |
Class API¶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.
__init__(self, startColour=wx.TransparentColour, endColour=wx.TransparentColour)¶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)¶EndColour¶See SetEndColour , GetEndColour
StartColour¶See SetStartColour , GetStartColour