wxRegion

See external documentation: wxRegion.

See external documentation: wxRegion.

Types


wxRegion() = wx:wx_object()

Functions


new() -> wxRegion()

See external documentation.

new(Bmp) -> wxRegion()

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

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

See external documentation.

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

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

See external documentation.

clear(This) -> ok

  • This = wxRegion()

See external documentation.

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

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

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

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

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

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

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

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

  • This = wxRegion()

See external documentation.

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

  • This = wxRegion()

See external documentation.

intersect(This, Region) -> boolean()

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

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

See external documentation.

isEmpty(This) -> boolean()

  • This = wxRegion()

See external documentation.

subtract(This, Region) -> boolean()

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

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

See external documentation.

offset(This, Pt) -> boolean()

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

See external documentation.

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

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

See external documentation.

union(This, Region) -> boolean()

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

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

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

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

See external documentation.

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

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

See external documentation.

Xor(This, Region) -> boolean()

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

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

See external documentation.

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

Destroys this object, do not use object again