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

wxErlang
Reference Manual
Version 1.6.1


Expand All
Contract All

Table of Contents

wxRegion

MODULE

wxRegion

MODULE SUMMARY

See external documentation: wxRegion.

DESCRIPTION

See external documentation: wxRegion.

DATA TYPES

wxRegion()

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

new(Bmp) -> wxRegion()

Types:

Bmp = wxBitmap() (see module wxBitmap)

See external documentation.
Also:
new(Rect) -> wxRegion() when
Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}.

new(TopLeft, BottomRight) -> wxRegion()

Types:

TopLeft = {X::integer(), Y::integer()}
BottomRight = {X::integer(), Y::integer()}

new(X, Y, W, H) -> wxRegion()

Types:

X = integer()
Y = integer()
W = integer()
H = integer()

clear(This) -> ok

Types:

This = wxRegion()

contains(This, Pt) -> wx_enum() (see module wx)

Types:

This = wxRegion()
Pt = {X::integer(), Y::integer()}

See external documentation.
Also:
contains(This, Rect) -> wx:wx_enum() when
This::wxRegion(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}.


Res = ?wxOutRegion | ?wxPartRegion | ?wxInRegion

contains(This, X, Y) -> wx_enum() (see module wx)

Types:

This = wxRegion()
X = integer()
Y = integer()

See external documentation.
Res = ?wxOutRegion | ?wxPartRegion | ?wxInRegion

contains(This, X, Y, W, H) -> wx_enum() (see module wx)

Types:

This = wxRegion()
X = integer()
Y = integer()
W = integer()
H = integer()

See external documentation.
Res = ?wxOutRegion | ?wxPartRegion | ?wxInRegion

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

Types:

This = wxRegion()

getBox(This) -> {X::integer(), Y::integer(), W::integer(), H::integer()}

Types:

This = wxRegion()

intersect(This, Region) -> boolean()

Types:

This = wxRegion()
Region = wxRegion()

See external documentation.
Also:
intersect(This, Rect) -> boolean() when
This::wxRegion(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}.

intersect(This, X, Y, W, H) -> boolean()

Types:

This = wxRegion()
X = integer()
Y = integer()
W = integer()
H = integer()

isEmpty(This) -> boolean()

Types:

This = wxRegion()

subtract(This, Region) -> boolean()

Types:

This = wxRegion()
Region = wxRegion()

See external documentation.
Also:
subtract(This, Rect) -> boolean() when
This::wxRegion(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}.

subtract(This, X, Y, W, H) -> boolean()

Types:

This = wxRegion()
X = integer()
Y = integer()
W = integer()
H = integer()

offset(This, Pt) -> boolean()

Types:

This = wxRegion()
Pt = {X::integer(), Y::integer()}

offset(This, X, Y) -> boolean()

Types:

This = wxRegion()
X = integer()
Y = integer()

union(This, Region) -> boolean()

Types:

This = wxRegion()
Region = wxRegion() | wxBitmap() (see module wxBitmap)

See external documentation.
Also:
union(This, Rect) -> boolean() when
This::wxRegion(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}.

union(This, Bmp, Transp) -> boolean()

Types:

This = wxRegion()
Bmp = wxBitmap() (see module wxBitmap)
Transp = wx_colour() (see module wx)

union(This, Bmp, Transp, Options::[Option]) -> boolean()

Types:

This = wxRegion()
Bmp = wxBitmap() (see module wxBitmap)
Transp = wx_colour() (see module wx)
Option = {tolerance, integer()}

union(This, X, Y, W, H) -> boolean()

Types:

This = wxRegion()
X = integer()
Y = integer()
W = integer()
H = integer()

Xor(This, Region) -> boolean()

Types:

This = wxRegion()
Region = wxRegion()

See external documentation.
Also:
'Xor'(This, Rect) -> boolean() when
This::wxRegion(), Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}.

Xor(This, X, Y, W, H) -> boolean()

Types:

This = wxRegion()
X = integer()
Y = integer()
W = integer()
H = integer()

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

Destroys this object, do not use object again