wxErlang

Reference Manual

Version 1.8.2

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

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

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

Types

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

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

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

Types

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

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

convertToBitmap(This) -> wxBitmap: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()

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()
Transp = wx:wx_colour()

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

Types

This = wxRegion()
Transp = wx:wx_colour()
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