wxGraphicsGradientStops
Methods
wxGraphicsGradientStops
Initializes the gradient stops with the given boundary colours.
Add
Add a new stop.
GetCount
Returns the number of stops.
GetEndColour
Returns the end colour.
GetStartColour
Returns the start colour.
Item
Returns the stop at the given index.
SetEndColour
Set the end colour to col.
SetStartColour
Set the start colour to col.
wxGraphicsGradientStops
wxGraphicsGradientStops
(
wxColour
$startCol
=
wxTransparentColour
,
wxColour
$endCol
=
wxTransparentColour
)
Initializes the gradient stops with the given boundary colours.
Add
Add
(
wxGraphicsGradientStop
$stop
)
Add a new stop.
Add
(
wxColour
$col
,
float
$pos
)
Add a new stop.
GetCount
integer
GetCount
( )
Returns the number of stops.
GetEndColour
wxColour
GetEndColour
( )
Returns the end colour.
GetStartColour
wxColour
GetStartColour
( )
Returns the start colour.
Item
wxGraphicsGradientStop
Item
(
integer
$n
)
Returns the stop at the given index.
SetEndColour
SetEndColour
(
wxColour
$col
)
Set the end colour to col.
SetStartColour
SetStartColour
(
wxColour
$col
)
Set the start colour to col.