table of contents
other versions
- wheezy 1:15.b.1-dfsg-4+deb7u1
- wheezy-backports 1:17.3-dfsg-4~bpo70+1
- jessie 1:17.3-dfsg-4+deb8u1
- jessie-backports 1:19.2.1+dfsg-2~bpo8+1
- testing 1:19.2.1+dfsg-2
- unstable 1:19.2.1+dfsg-2
- experimental 1:19.3.1+dfsg-1
wxImage(3erl) | Erlang Module Definition | wxImage(3erl) |
NAME¶
wxImage - See external documentation: wxImage.DESCRIPTION¶
See external documentation: wxImage. All (default) image handlers are initialized.DATA TYPES¶
- wxImage():
-
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() -> wxImage()
See external documentation.
Types:
Name = chardata() (see module unicode)
Equivalent to new(Name, []).
Types:
Width = integer()
Height = integer()
See external documentation.
Also:
new(Name, [Option]) -> wxImage() when
Name::unicode:chardata(),
Option :: {type, integer()}
| {index, integer()}.
Types:
Width = integer()
Height = integer()
Data = binary()
See external documentation.
Also:
new(Width, Height, [Option]) -> wxImage() when
Width::integer(), Height::integer(),
Option :: {clear, boolean()};
(Name, Mimetype, [Option]) -> wxImage() when
Name::unicode:chardata(), Mimetype::unicode:chardata(),
Option :: {index, integer()}.
Types:
Width = integer()
Height = integer()
Data = binary()
Alpha = binary()
See external documentation.
Also:
new(Width, Height, Data, [Option]) -> wxImage() when
Width::integer(), Height::integer(), Data::binary(),
Option :: {static_data, boolean()}.
Types:
Width = integer()
Height = integer()
Data = binary()
Alpha = binary()
Option = {static_data, boolean()}
See external documentation.
Types:
This = wxImage()
Radius = integer()
See external documentation.
Types:
This = wxImage()
Radius = integer()
See external documentation.
Types:
This = wxImage()
Radius = integer()
See external documentation.
Types:
This = wxImage()
Equivalent to convertAlphaToMask(This, []).
Types:
This = wxImage()
Option = {threshold, integer()}
See external documentation.
Types:
This = wxImage()
Equivalent to convertToGreyscale(This, []).
Types:
This = wxImage()
Option = {lr, number()} | {lg, number()} | {lb, number()}
See external documentation.
Types:
This = wxImage()
R = integer()
G = integer()
B = integer()
See external documentation.
Types:
This = wxImage()
See external documentation.
Types:
This = wxImage()
Width = integer()
Height = integer()
Equivalent to create(This, Width, Height, []).
Types:
This = wxImage()
Width = integer()
Height = integer()
Data = binary()
See external documentation.
Also:
create(This, Width, Height, [Option]) -> boolean() when
This::wxImage(), Width::integer(), Height::integer(),
Option :: {clear, boolean()}.
Types:
This = wxImage()
Width = integer()
Height = integer()
Data = binary()
Alpha = binary()
See external documentation.
Also:
create(This, Width, Height, Data, [Option]) -> boolean() when
This::wxImage(), Width::integer(), Height::integer(), Data::binary(),
Option :: {static_data, boolean()}.
Types:
This = wxImage()
Width = integer()
Height = integer()
Data = binary()
Alpha = binary()
Option = {static_data, boolean()}
See external documentation.
Types:
This = wxImage()
See external documentation.
Types:
Result = {Res::boolean(), R::integer(),
G::integer(), B::integer()}
This = wxImage()
Equivalent to findFirstUnusedColour(This, []).
Types:
Result = {Res::boolean(), R::integer(),
G::integer(), B::integer()}
This = wxImage()
Option = {startR, integer()} | {startG, integer()} | {startB, integer()}
See external documentation.
See external documentation.
Types:
This = wxImage()
See external documentation.
Types:
This = wxImage()
X = integer()
Y = integer()
See external documentation.
Types:
This = wxImage()
X = integer()
Y = integer()
See external documentation.
Types:
This = wxImage()
See external documentation.
Types:
This = wxImage()
X = integer()
Y = integer()
See external documentation.
Types:
Name = chardata() (see module unicode)
Equivalent to getImageCount(Name, []).
Types:
Name = chardata() (see module unicode)
Option = {type, wx_enum() (see module wx)}
See external documentation.
Type = ?wxBITMAP_TYPE_INVALID | ?wxBITMAP_TYPE_BMP | ?wxBITMAP_TYPE_BMP_RESOURCE
| ?wxBITMAP_TYPE_RESOURCE | ?wxBITMAP_TYPE_ICO | ?wxBITMAP_TYPE_ICO_RESOURCE |
?wxBITMAP_TYPE_CUR | ?wxBITMAP_TYPE_CUR_RESOURCE | ?wxBITMAP_TYPE_XBM |
?wxBITMAP_TYPE_XBM_DATA | ?wxBITMAP_TYPE_XPM | ?wxBITMAP_TYPE_XPM_DATA |
?wxBITMAP_TYPE_TIF | ?wxBITMAP_TYPE_TIF_RESOURCE | ?wxBITMAP_TYPE_GIF |
?wxBITMAP_TYPE_GIF_RESOURCE | ?wxBITMAP_TYPE_PNG | ?wxBITMAP_TYPE_PNG_RESOURCE
| ?wxBITMAP_TYPE_JPEG | ?wxBITMAP_TYPE_JPEG_RESOURCE | ?wxBITMAP_TYPE_PNM |
?wxBITMAP_TYPE_PNM_RESOURCE | ?wxBITMAP_TYPE_PCX | ?wxBITMAP_TYPE_PCX_RESOURCE
| ?wxBITMAP_TYPE_PICT | ?wxBITMAP_TYPE_PICT_RESOURCE | ?wxBITMAP_TYPE_ICON |
?wxBITMAP_TYPE_ICON_RESOURCE | ?wxBITMAP_TYPE_ANI | ?wxBITMAP_TYPE_IFF |
?wxBITMAP_TYPE_TGA | ?wxBITMAP_TYPE_MACCURSOR |
?wxBITMAP_TYPE_MACCURSOR_RESOURCE | ?wxBITMAP_TYPE_ANY
Types:
This = wxImage()
See external documentation.
Types:
This = wxImage()
See external documentation.
Types:
This = wxImage()
See external documentation.
Types:
This = wxImage()
See external documentation.
Types:
Result = {Res::boolean(), R::integer(),
G::integer(), B::integer()}
This = wxImage()
See external documentation.
Types:
This = wxImage()
See external documentation.
Types:
This = wxImage()
X = integer()
Y = integer()
See external documentation.
Types:
This = wxImage()
Rect = {X::integer(), Y::integer(), W::integer(), H::integer()}
See external documentation.
Types:
This = wxImage()
See external documentation.
Types:
This = wxImage()
See external documentation.
Types:
This = wxImage()
See external documentation.
Types:
This = wxImage()
Name = chardata() (see module unicode)
See external documentation.
Types:
This = wxImage()
Name = chardata() (see module unicode)
See external documentation.
Types:
This = wxImage()
Name = chardata() (see module unicode)
See external documentation.
Types:
This = wxImage()
See external documentation.
See external documentation.
Types:
This = wxImage()
X = integer()
Y = integer()
Equivalent to isTransparent(This, X, Y, []).
Types:
This = wxImage()
X = integer()
Y = integer()
Option = {threshold, integer()}
See external documentation.
Types:
This = wxImage()
Name = chardata() (see module unicode)
Equivalent to loadFile(This, Name, []).
Types:
This = wxImage()
Name = chardata() (see module unicode)
Option = {type, integer()} | {index, integer()}
See external documentation.
Types:
This = wxImage()
Name = chardata() (see module unicode)
Mimetype = chardata() (see module unicode)
Option = {index, integer()}
See external documentation.
Types:
This = wxImage()
See external documentation.
Types:
Name = chardata() (see module unicode)
See external documentation.
Types:
This = wxImage()
Equivalent to mirror(This, []).
Types:
This = wxImage()
Option = {horizontally, boolean()}
See external documentation.
Types:
This = wxImage()
R1 = integer()
G1 = integer()
B1 = integer()
R2 = integer()
G2 = integer()
B2 = integer()
See external documentation.
Types:
This = wxImage()
Width = integer()
Height = integer()
Equivalent to rescale(This, Width, Height, []).
Types:
This = wxImage()
Width = integer()
Height = integer()
Option = {quality, wx_enum() (see module wx)}
See external documentation.
Quality = integer
Types:
This = wxImage()
Size = {W::integer(), H::integer()}
Pos = {X::integer(), Y::integer()}
Equivalent to resize(This, Size, Pos, []).
Types:
This = wxImage()
Size = {W::integer(), H::integer()}
Pos = {X::integer(), Y::integer()}
Option = {r, integer()} | {g, integer()} | {b, integer()}
See external documentation.
Types:
This = wxImage()
Angle = number()
Centre_of_rotation = {X::integer(), Y::integer()}
Equivalent to rotate(This, Angle, Centre_of_rotation, []).
Types:
This = wxImage()
Angle = number()
Centre_of_rotation = {X::integer(), Y::integer()}
Option = {interpolating, boolean()} | {offset_after_rotation, {X::integer(),
Y::integer()}}
See external documentation.
Types:
This = wxImage()
Angle = number()
See external documentation.
Types:
This = wxImage()
Equivalent to rotate90(This, []).
Types:
This = wxImage()
Option = {clockwise, boolean()}
See external documentation.
Types:
This = wxImage()
Name = chardata() (see module unicode)
See external documentation.
Types:
This = wxImage()
Name = chardata() (see module unicode)
Type = integer()
See external documentation.
Also:
saveFile(This, Name, Mimetype) -> boolean() when
This::wxImage(), Name::unicode:chardata(), Mimetype::unicode:chardata().
Types:
This = wxImage()
Width = integer()
Height = integer()
Equivalent to scale(This, Width, Height, []).
Types:
This = wxImage()
Width = integer()
Height = integer()
Option = {quality, wx_enum() (see module wx)}
See external documentation.
Quality = integer
Types:
This = wxImage()
Size = {W::integer(), H::integer()}
Pos = {X::integer(), Y::integer()}
Equivalent to size(This, Size, Pos, []).
Types:
This = wxImage()
Size = {W::integer(), H::integer()}
Pos = {X::integer(), Y::integer()}
Option = {r, integer()} | {g, integer()} | {b, integer()}
See external documentation.
Types:
This = wxImage()
Alpha = binary()
Equivalent to setAlpha(This, Alpha, []).
Types:
This = wxImage()
Alpha = binary()
Option = {static_data, boolean()}
See external documentation.
Types:
This = wxImage()
X = integer()
Y = integer()
Alpha = integer()
See external documentation.
Types:
This = wxImage()
Data = binary()
Equivalent to setData(This, Data, []).
Types:
This = wxImage()
Data = binary()
Option = {static_data, boolean()}
See external documentation.
Types:
This = wxImage()
Data = binary()
New_width = integer()
New_height = integer()
Equivalent to setData(This, Data, New_width, New_height, []).
Types:
This = wxImage()
Data = binary()
New_width = integer()
New_height = integer()
Option = {static_data, boolean()}
See external documentation.
Types:
This = wxImage()
Equivalent to setMask(This, []).
Types:
This = wxImage()
Option = {mask, boolean()}
See external documentation.
Types:
This = wxImage()
R = integer()
G = integer()
B = integer()
See external documentation.
Types:
This = wxImage()
Mask = wxImage()
Mr = integer()
Mg = integer()
Mb = integer()
See external documentation.
Types:
This = wxImage()
Name = chardata() (see module unicode)
Value = integer()
See external documentation.
Also:
setOption(This, Name, Value) -> ok when
This::wxImage(), Name::unicode:chardata(), Value::unicode:chardata().
Types:
This = wxImage()
Palette = wxPalette() (see module wxPalette)
See external documentation.
Types:
This = wxImage()
Rect = {X::integer(), Y::integer(), W::integer(), H::integer()}
R = integer()
G = integer()
B = integer()
See external documentation.
Types:
This = wxImage()
X = integer()
Y = integer()
R = integer()
G = integer()
B = integer()
See external documentation.
Destroys this object, do not use object again
AUTHORS¶
wx 1.3.1 |