1wxRegion(3) Erlang Module Definition wxRegion(3)
2
3
4
6 wxRegion - See external documentation: wxRegion.
7
9 See external documentation: wxRegion.
10
12 wxRegion():
13
14
15 An object reference, The representation is internal and can be
16 changed without notice. It can't be used for comparsion stored on
17 disc or distributed for use on other nodes.
18
20 new() -> wxRegion()
21
22 See external documentation.
23
24 new(Bmp) -> wxRegion()
25
26 Types:
27
28 Bmp = wxBitmap:wxBitmap()
29
30 See external documentation.
31 Also:
32 new(Rect) -> wxRegion() when
33 Rect::{X::integer(), Y::integer(), W::integer(), H::integer()}.
34
35
36 new(TopLeft, BottomRight) -> wxRegion()
37
38 Types:
39
40 TopLeft = {X::integer(), Y::integer()}
41 BottomRight = {X::integer(), Y::integer()}
42
43 See external documentation.
44
45 new(X, Y, W, H) -> wxRegion()
46
47 Types:
48
49 X = integer()
50 Y = integer()
51 W = integer()
52 H = integer()
53
54 See external documentation.
55
56 clear(This) -> ok
57
58 Types:
59
60 This = wxRegion()
61
62 See external documentation.
63
64 contains(This, Pt) -> wx:wx_enum()
65
66 Types:
67
68 This = wxRegion()
69 Pt = {X::integer(), Y::integer()}
70
71 See external documentation.
72 Also:
73 contains(This, Rect) -> wx:wx_enum() when
74 This::wxRegion(), Rect::{X::integer(), Y::integer(), W::inte‐
75 ger(), H::integer()}.
76
77
78 Res = ?wxOutRegion | ?wxPartRegion | ?wxInRegion
79
80 contains(This, X, Y) -> wx:wx_enum()
81
82 Types:
83
84 This = wxRegion()
85 X = integer()
86 Y = integer()
87
88 See external documentation.
89 Res = ?wxOutRegion | ?wxPartRegion | ?wxInRegion
90
91 contains(This, X, Y, W, H) -> wx:wx_enum()
92
93 Types:
94
95 This = wxRegion()
96 X = integer()
97 Y = integer()
98 W = integer()
99 H = integer()
100
101 See external documentation.
102 Res = ?wxOutRegion | ?wxPartRegion | ?wxInRegion
103
104 convertToBitmap(This) -> wxBitmap:wxBitmap()
105
106 Types:
107
108 This = wxRegion()
109
110 See external documentation.
111
112 getBox(This) -> {X::integer(), Y::integer(), W::integer(), H::inte‐
113 ger()}
114
115 Types:
116
117 This = wxRegion()
118
119 See external documentation.
120
121 intersect(This, Region) -> boolean()
122
123 Types:
124
125 This = wxRegion()
126 Region = wxRegion()
127
128 See external documentation.
129 Also:
130 intersect(This, Rect) -> boolean() when
131 This::wxRegion(), Rect::{X::integer(), Y::integer(), W::inte‐
132 ger(), H::integer()}.
133
134
135 intersect(This, X, Y, W, H) -> boolean()
136
137 Types:
138
139 This = wxRegion()
140 X = integer()
141 Y = integer()
142 W = integer()
143 H = integer()
144
145 See external documentation.
146
147 isEmpty(This) -> boolean()
148
149 Types:
150
151 This = wxRegion()
152
153 See external documentation.
154
155 subtract(This, Region) -> boolean()
156
157 Types:
158
159 This = wxRegion()
160 Region = wxRegion()
161
162 See external documentation.
163 Also:
164 subtract(This, Rect) -> boolean() when
165 This::wxRegion(), Rect::{X::integer(), Y::integer(), W::inte‐
166 ger(), H::integer()}.
167
168
169 subtract(This, X, Y, W, H) -> boolean()
170
171 Types:
172
173 This = wxRegion()
174 X = integer()
175 Y = integer()
176 W = integer()
177 H = integer()
178
179 See external documentation.
180
181 offset(This, Pt) -> boolean()
182
183 Types:
184
185 This = wxRegion()
186 Pt = {X::integer(), Y::integer()}
187
188 See external documentation.
189
190 offset(This, X, Y) -> boolean()
191
192 Types:
193
194 This = wxRegion()
195 X = integer()
196 Y = integer()
197
198 See external documentation.
199
200 union(This, Region) -> boolean()
201
202 Types:
203
204 This = wxRegion()
205 Region = wxRegion() | wxBitmap:wxBitmap()
206
207 See external documentation.
208 Also:
209 union(This, Rect) -> boolean() when
210 This::wxRegion(), Rect::{X::integer(), Y::integer(), W::inte‐
211 ger(), H::integer()}.
212
213
214 union(This, Bmp, Transp) -> boolean()
215
216 Types:
217
218 This = wxRegion()
219 Bmp = wxBitmap:wxBitmap()
220 Transp = wx:wx_colour()
221
222 Equivalent to union(This, Bmp, Transp, []).
223
224 union(This, Bmp, Transp, Options::[Option]) -> boolean()
225
226 Types:
227
228 This = wxRegion()
229 Bmp = wxBitmap:wxBitmap()
230 Transp = wx:wx_colour()
231 Option = {tolerance, integer()}
232
233 See external documentation.
234
235 union(This, X, Y, W, H) -> boolean()
236
237 Types:
238
239 This = wxRegion()
240 X = integer()
241 Y = integer()
242 W = integer()
243 H = integer()
244
245 See external documentation.
246
247 Xor(This, Region) -> boolean()
248
249 Types:
250
251 This = wxRegion()
252 Region = wxRegion()
253
254 See external documentation.
255 Also:
256 'Xor'(This, Rect) -> boolean() when
257 This::wxRegion(), Rect::{X::integer(), Y::integer(), W::inte‐
258 ger(), H::integer()}.
259
260
261 Xor(This, X, Y, W, H) -> boolean()
262
263 Types:
264
265 This = wxRegion()
266 X = integer()
267 Y = integer()
268 W = integer()
269 H = integer()
270
271 See external documentation.
272
273 destroy(This::wxRegion()) -> ok
274
275 Destroys this object, do not use object again
276
278 <>
279
280
281
282 wx 1.8.7 wxRegion(3)