Erlang logo
User's Guide
Reference Manual
Release Notes
PDF
Top

wxErlang
Reference Manual
Version 0.99.2


Expand All
Contract All

Table of Contents

wxBrush

MODULE

wxBrush

MODULE SUMMARY

See external documentation: wxBrush.

DESCRIPTION

See external documentation: wxBrush.

DATA TYPES

wxBrush()

An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc or distributed for use on other nodes.

EXPORTS

new() -> wxBrush()

new(Colour) -> wxBrush()

Types:

Colour = wx_colour() (see module wx)

See external documentation.
Also:
new(StippleBitmap) -> wxBrush() when
StippleBitmap::wxBitmap:wxBitmap().

new(Colour, Option::[Option]) -> wxBrush()

Types:

Colour = wx_colour() (see module wx)
Option = {style, integer()}

getColour(This) -> wx_colour4() (see module wx)

Types:

This = wxBrush()

getStipple(This) -> wxBitmap() (see module wxBitmap)

Types:

This = wxBrush()

getStyle(This) -> integer()

Types:

This = wxBrush()

isHatch(This) -> boolean()

Types:

This = wxBrush()

isOk(This) -> boolean()

Types:

This = wxBrush()

setColour(This, Col) -> ok

Types:

This = wxBrush()
Col = wx_colour() (see module wx)

setColour(This, R, G, B) -> ok

Types:

This = wxBrush()
R = integer()
G = integer()
B = integer()

setStipple(This, Stipple) -> ok

Types:

This = wxBrush()
Stipple = wxBitmap() (see module wxBitmap)

setStyle(This, Style) -> ok

Types:

This = wxBrush()
Style = integer()

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

Destroys this object, do not use object again