GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||
GeezerVison is showing docs.wxpython.org — wx.GraphicsGradientStops — wxPython 4.3.2 Docs
|
Initializes the gradient stops with the given boundary colours. |
|
Add a new stop. |
|
Set the end colour to col. |
|
Set the start colour to col. |
|
Properties Summary¶See |
|
See |
|
See |
Class API¶Possible constructors:
GraphicsGradientStops(startCol=TransparentColour, endCol=TransparentColour) -> None
Represents a collection of GraphicGradientStop values for use with CreateLinearGradientBrush and CreateRadialGradientBrush.
Initializes the gradient stops with the given boundary colours.
Creates a wx.GraphicsGradientStops instance with start colour given by startCol and end colour given by endCol.
Add a new stop.
Add (self, stop)
stop (wx.GraphicsGradientStop)
None
Add (self, col, pos)
col (wx.Colour)
pos (float)
None
int
The number of stops.
n – The index, must be in [0, GetCount ) range.
The stop at the given index.
Set the start colour to col.
col (wx.Colour)
None
int
See GetEndColour and SetEndColour
See GetStartColour and SetStartColour