User's Guide
Reference Manual
Release Notes
PDF
Top

wxErlang
Reference Manual
Version 1.0

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()

See external documentation.

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()}

See external documentation.

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

Types:

This = wxBrush()

See external documentation.

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

Types:

This = wxBrush()

See external documentation.

getStyle(This) -> integer()

Types:

This = wxBrush()

See external documentation.

isHatch(This) -> boolean()

Types:

This = wxBrush()

See external documentation.

isOk(This) -> boolean()

Types:

This = wxBrush()

See external documentation.

setColour(This, Col) -> ok

Types:

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

See external documentation.

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

Types:

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

See external documentation.

setStipple(This, Stipple) -> ok

Types:

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

See external documentation.

setStyle(This, Style) -> ok

Types:

This = wxBrush()
Style = integer()

See external documentation.

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

Destroys this object, do not use object again