GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
wxGraphicsGradientStops(3) Erlang Module Definition wxGraphicsGradientStops(3)

wxGraphicsGradientStops - Represents a collection of wxGraphicGradientStop values for use with CreateLinearGradientBrush and CreateRadialGradientBrush.

The stops are maintained in order of position. If two or more stops are added with the same position then the one(s) added later come later. This can be useful for producing discontinuities in the colour gradient.

Notice that this class is write-once, you can't modify the stops once they had been added.

Since: 2.9.1

wxWidgets docs: wxGraphicsGradientStops

wxGraphicsGradientStops() = wx:wx_object()

new() -> wxGraphicsGradientStops()


new(Options :: [Option]) -> wxGraphicsGradientStops()


Types:

Option = {startCol, wx:wx_colour()} | {endCol, wx:wx_colour()}

Initializes the gradient stops with the given boundary colours.

Creates a wxGraphicsGradientStops instance with start colour given by startCol and end colour given by endCol.

item(This, N) -> {wx:wx_colour4(), float()}


Types:

This = wxGraphicsGradientStops()
N = integer()

Returns the stop at the given index.

getCount(This) -> integer()


Types:

This = wxGraphicsGradientStops()

Returns the number of stops.

setStartColour(This, Col) -> ok


Types:

This = wxGraphicsGradientStops()
Col = wx:wx_colour()

Set the start colour to col.

getStartColour(This) -> wx:wx_colour4()


Types:

This = wxGraphicsGradientStops()

Returns the start colour.

setEndColour(This, Col) -> ok


Types:

This = wxGraphicsGradientStops()
Col = wx:wx_colour()

Set the end colour to col.

getEndColour(This) -> wx:wx_colour4()


Types:

This = wxGraphicsGradientStops()

Returns the end colour.

add(This, Col, Pos) -> ok


Types:

This = wxGraphicsGradientStops()
Col = wx:wx_colour()
Pos = number()

Add a new stop.

destroy(This :: wxGraphicsGradientStops()) -> ok


Destroys the object.

wx 2.1.1 wxWidgets team.

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.