motion-game 1.1.7 → 1.1.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +2 -0
- data/build/android/motion-cocos.jar +0 -0
- metadata +2 -66
- data/doc/MG.html +0 -131
- data/doc/MG/Action.html +0 -402
- data/doc/MG/Animate.html +0 -281
- data/doc/MG/Application.html +0 -335
- data/doc/MG/Audio.html +0 -1268
- data/doc/MG/Blink.html +0 -257
- data/doc/MG/Button.html +0 -725
- data/doc/MG/Color.html +0 -535
- data/doc/MG/DelayTime.html +0 -239
- data/doc/MG/Director.html +0 -1301
- data/doc/MG/Draw.html +0 -813
- data/doc/MG/Events.html +0 -129
- data/doc/MG/Events/Acceleration.html +0 -505
- data/doc/MG/Events/Touch.html +0 -235
- data/doc/MG/FadeIn.html +0 -240
- data/doc/MG/FadeOut.html +0 -240
- data/doc/MG/FadeTo.html +0 -256
- data/doc/MG/File.html +0 -219
- data/doc/MG/Follow.html +0 -241
- data/doc/MG/JumpBy.html +0 -292
- data/doc/MG/JumpTo.html +0 -287
- data/doc/MG/Layout.html +0 -516
- data/doc/MG/List.html +0 -1053
- data/doc/MG/Menu.html +0 -458
- data/doc/MG/MoveBy.html +0 -259
- data/doc/MG/MoveTo.html +0 -257
- data/doc/MG/Node.html +0 -2013
- data/doc/MG/Parallax.html +0 -297
- data/doc/MG/Particle.html +0 -1224
- data/doc/MG/Point.html +0 -543
- data/doc/MG/Repeat.html +0 -257
- data/doc/MG/RepeatForever.html +0 -239
- data/doc/MG/RotateBy.html +0 -259
- data/doc/MG/RotateTo.html +0 -257
- data/doc/MG/ScaleBy.html +0 -255
- data/doc/MG/ScaleTo.html +0 -255
- data/doc/MG/Scene.html +0 -1544
- data/doc/MG/Scroll.html +0 -533
- data/doc/MG/Sequence.html +0 -241
- data/doc/MG/Size.html +0 -741
- data/doc/MG/SkewBy.html +0 -273
- data/doc/MG/SkewTo.html +0 -273
- data/doc/MG/Slider.html +0 -338
- data/doc/MG/Spawn.html +0 -239
- data/doc/MG/Speed.html +0 -259
- data/doc/MG/Sprite.html +0 -2591
- data/doc/MG/Text.html +0 -921
- data/doc/MG/TintBy.html +0 -272
- data/doc/MG/TintTo.html +0 -274
- data/doc/MG/Web.html +0 -831
- data/doc/MG/Widget.html +0 -552
- data/doc/_index.html +0 -574
- data/doc/class_list.html +0 -51
- data/doc/css/common.css +0 -1
- data/doc/css/full_list.css +0 -58
- data/doc/css/style.css +0 -481
- data/doc/file.README.html +0 -192
- data/doc/file_list.html +0 -56
- data/doc/frames.html +0 -17
- data/doc/index.html +0 -192
- data/doc/js/app.js +0 -243
- data/doc/js/full_list.js +0 -216
- data/doc/js/jquery.js +0 -4
- data/doc/method_list.html +0 -1635
- data/doc/top-level-namespace.html +0 -112
data/doc/MG/Text.html
DELETED
@@ -1,921 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta charset="utf-8">
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
-
<title>
|
7
|
-
Class: MG::Text
|
8
|
-
|
9
|
-
— Documentation by YARD 0.9.5
|
10
|
-
|
11
|
-
</title>
|
12
|
-
|
13
|
-
<link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
|
14
|
-
|
15
|
-
<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
|
16
|
-
|
17
|
-
<script type="text/javascript" charset="utf-8">
|
18
|
-
pathId = "MG::Text";
|
19
|
-
relpath = '../';
|
20
|
-
</script>
|
21
|
-
|
22
|
-
|
23
|
-
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
24
|
-
|
25
|
-
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
26
|
-
|
27
|
-
|
28
|
-
</head>
|
29
|
-
<body>
|
30
|
-
<div class="nav_wrap">
|
31
|
-
<iframe id="nav" src="../class_list.html"></iframe>
|
32
|
-
<div id="resizer"></div>
|
33
|
-
</div>
|
34
|
-
|
35
|
-
<div id="main" tabindex="-1">
|
36
|
-
<div id="header">
|
37
|
-
<div id="menu">
|
38
|
-
|
39
|
-
<a href="../_index.html">Index (T)</a> »
|
40
|
-
<span class='title'><span class='object_link'><a href="../MG.html" title="MG (module)">MG</a></span></span>
|
41
|
-
»
|
42
|
-
<span class="title">Text</span>
|
43
|
-
|
44
|
-
</div>
|
45
|
-
|
46
|
-
<div id="search">
|
47
|
-
|
48
|
-
<a class="full_list_link" id="class_list_link"
|
49
|
-
href="../class_list.html">
|
50
|
-
|
51
|
-
<svg width="24" height="24">
|
52
|
-
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
-
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
-
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
-
</svg>
|
56
|
-
</a>
|
57
|
-
|
58
|
-
</div>
|
59
|
-
<div class="clear"></div>
|
60
|
-
</div>
|
61
|
-
|
62
|
-
<iframe id="search_frame" src="../class_list.html"></iframe>
|
63
|
-
|
64
|
-
<div id="content"><h1>Class: MG::Text
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
</h1>
|
69
|
-
<div class="box_info">
|
70
|
-
|
71
|
-
<dl>
|
72
|
-
<dt>Inherits:</dt>
|
73
|
-
<dd>
|
74
|
-
<span class="inheritName"><span class='object_link'><a href="Widget.html" title="MG::Widget (class)">Widget</a></span></span>
|
75
|
-
|
76
|
-
<ul class="fullTree">
|
77
|
-
<li>Object</li>
|
78
|
-
|
79
|
-
<li class="next"><span class='object_link'><a href="Node.html" title="MG::Node (class)">Node</a></span></li>
|
80
|
-
|
81
|
-
<li class="next"><span class='object_link'><a href="Widget.html" title="MG::Widget (class)">Widget</a></span></li>
|
82
|
-
|
83
|
-
<li class="next">MG::Text</li>
|
84
|
-
|
85
|
-
</ul>
|
86
|
-
<a href="#" class="inheritanceTree">show all</a>
|
87
|
-
|
88
|
-
</dd>
|
89
|
-
</dl>
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
<dl>
|
102
|
-
<dt>Defined in:</dt>
|
103
|
-
<dd>motion-game</dd>
|
104
|
-
</dl>
|
105
|
-
|
106
|
-
</div>
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
<h2>Properties <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
113
|
-
<ul class="summary">
|
114
|
-
|
115
|
-
<li class="public ">
|
116
|
-
<span class="summary_signature">
|
117
|
-
|
118
|
-
<a href="#area_size-instance_method" title="#area_size (instance method)">#<strong>area_size</strong> ⇒ Size </a>
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
</span>
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
<span class="summary_desc"><div class='inline'>
|
136
|
-
<p>The text rendering area size.</p>
|
137
|
-
</div></span>
|
138
|
-
|
139
|
-
</li>
|
140
|
-
|
141
|
-
|
142
|
-
<li class="public ">
|
143
|
-
<span class="summary_signature">
|
144
|
-
|
145
|
-
<a href="#font-instance_method" title="#font (instance method)">#<strong>font</strong> ⇒ String </a>
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
</span>
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
<span class="summary_desc"><div class='inline'>
|
163
|
-
<p>Name of the font used by the widget.</p>
|
164
|
-
</div></span>
|
165
|
-
|
166
|
-
</li>
|
167
|
-
|
168
|
-
|
169
|
-
<li class="public ">
|
170
|
-
<span class="summary_signature">
|
171
|
-
|
172
|
-
<a href="#font_size-instance_method" title="#font_size (instance method)">#<strong>font_size</strong> ⇒ Integer </a>
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
</span>
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
<span class="summary_desc"><div class='inline'>
|
190
|
-
<p>Size of the font used by the widget.</p>
|
191
|
-
</div></span>
|
192
|
-
|
193
|
-
</li>
|
194
|
-
|
195
|
-
|
196
|
-
<li class="public ">
|
197
|
-
<span class="summary_signature">
|
198
|
-
|
199
|
-
<a href="#horizontal_align-instance_method" title="#horizontal_align (instance method)">#<strong>horizontal_align</strong> ⇒ :left, ... </a>
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
</span>
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
<span class="summary_desc"><div class='inline'>
|
217
|
-
<p>The horizontal alignment of the text.</p>
|
218
|
-
</div></span>
|
219
|
-
|
220
|
-
</li>
|
221
|
-
|
222
|
-
|
223
|
-
<li class="public ">
|
224
|
-
<span class="summary_signature">
|
225
|
-
|
226
|
-
<a href="#text-instance_method" title="#text (instance method)">#<strong>text</strong> ⇒ String </a>
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
</span>
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
<span class="summary_desc"><div class='inline'>
|
244
|
-
<p>Content of the widget.</p>
|
245
|
-
</div></span>
|
246
|
-
|
247
|
-
</li>
|
248
|
-
|
249
|
-
|
250
|
-
<li class="public ">
|
251
|
-
<span class="summary_signature">
|
252
|
-
|
253
|
-
<a href="#text_color-instance_method" title="#text_color (instance method)">#<strong>text_color</strong> ⇒ Color </a>
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
</span>
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
<span class="summary_desc"><div class='inline'>
|
271
|
-
<p>Color of the text part of the widget.</p>
|
272
|
-
</div></span>
|
273
|
-
|
274
|
-
</li>
|
275
|
-
|
276
|
-
|
277
|
-
<li class="public ">
|
278
|
-
<span class="summary_signature">
|
279
|
-
|
280
|
-
<a href="#vertical_align-instance_method" title="#vertical_align (instance method)">#<strong>vertical_align</strong> ⇒ :top, ... </a>
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
</span>
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
<span class="summary_desc"><div class='inline'>
|
298
|
-
<p>The vertical alignment of the text.</p>
|
299
|
-
</div></span>
|
300
|
-
|
301
|
-
</li>
|
302
|
-
|
303
|
-
|
304
|
-
</ul>
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Widget.html" title="MG::Widget (class)">Widget</a></span></h3>
|
311
|
-
<p class="inherited"><span class='object_link'><a href="Widget.html#enabled%3F-instance_method" title="MG::Widget#enabled? (method)">#enabled?</a></span>, <span class='object_link'><a href="Widget.html#highlighted%3F-instance_method" title="MG::Widget#highlighted? (method)">#highlighted?</a></span>, <span class='object_link'><a href="Widget.html#touch_enabled%3F-instance_method" title="MG::Widget#touch_enabled? (method)">#touch_enabled?</a></span></p>
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Node.html" title="MG::Node (class)">Node</a></span></h3>
|
316
|
-
<p class="inherited"><span class='object_link'><a href="Node.html#alpha-instance_method" title="MG::Node#alpha (method)">#alpha</a></span>, <span class='object_link'><a href="Node.html#anchor_point-instance_method" title="MG::Node#anchor_point (method)">#anchor_point</a></span>, <span class='object_link'><a href="Node.html#color-instance_method" title="MG::Node#color (method)">#color</a></span>, <span class='object_link'><a href="Node.html#name-instance_method" title="MG::Node#name (method)">#name</a></span>, <span class='object_link'><a href="Node.html#position-instance_method" title="MG::Node#position (method)">#position</a></span>, <span class='object_link'><a href="Node.html#rotation-instance_method" title="MG::Node#rotation (method)">#rotation</a></span>, <span class='object_link'><a href="Node.html#scale-instance_method" title="MG::Node#scale (method)">#scale</a></span>, <span class='object_link'><a href="Node.html#size-instance_method" title="MG::Node#size (method)">#size</a></span>, <span class='object_link'><a href="Node.html#visible%3F-instance_method" title="MG::Node#visible? (method)">#visible?</a></span>, <span class='object_link'><a href="Node.html#z_index-instance_method" title="MG::Node#z_index (method)">#z_index</a></span></p>
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
<h2>
|
321
|
-
Constructors
|
322
|
-
<small><a href="#" class="summary_toggle">collapse</a></small>
|
323
|
-
</h2>
|
324
|
-
|
325
|
-
<ul class="summary">
|
326
|
-
|
327
|
-
<li class="public ">
|
328
|
-
<span class="summary_signature">
|
329
|
-
|
330
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(text = '', font = '', font_size = 0) ⇒ Text </a>
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
</span>
|
335
|
-
|
336
|
-
|
337
|
-
<span class="note title constructor">constructor</span>
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
<span class="summary_desc"><div class='inline'>
|
347
|
-
<p>Creates a new Text widget with optional content, font name and size.</p>
|
348
|
-
</div></span>
|
349
|
-
|
350
|
-
</li>
|
351
|
-
|
352
|
-
|
353
|
-
</ul>
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Widget.html" title="MG::Widget (class)">Widget</a></span></h3>
|
366
|
-
<p class="inherited"><span class='object_link'><a href="Widget.html#on_touch-instance_method" title="MG::Widget#on_touch (method)">#on_touch</a></span></p>
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Node.html" title="MG::Node (class)">Node</a></span></h3>
|
377
|
-
<p class="inherited"><span class='object_link'><a href="Node.html#add-instance_method" title="MG::Node#add (method)">#add</a></span>, <span class='object_link'><a href="Node.html#children-instance_method" title="MG::Node#children (method)">#children</a></span>, <span class='object_link'><a href="Node.html#clear-instance_method" title="MG::Node#clear (method)">#clear</a></span>, <span class='object_link'><a href="Node.html#delete-instance_method" title="MG::Node#delete (method)">#delete</a></span>, <span class='object_link'><a href="Node.html#delete_from_parent-instance_method" title="MG::Node#delete_from_parent (method)">#delete_from_parent</a></span>, <span class='object_link'><a href="Node.html#intersects%3F-instance_method" title="MG::Node#intersects? (method)">#intersects?</a></span>, <span class='object_link'><a href="Node.html#parent-instance_method" title="MG::Node#parent (method)">#parent</a></span>, <span class='object_link'><a href="Node.html#run_action-instance_method" title="MG::Node#run_action (method)">#run_action</a></span>, <span class='object_link'><a href="Node.html#stop_action-instance_method" title="MG::Node#stop_action (method)">#stop_action</a></span>, <span class='object_link'><a href="Node.html#stop_all_actions-instance_method" title="MG::Node#stop_all_actions (method)">#stop_all_actions</a></span></p>
|
378
|
-
<div id="constructor_details" class="method_details_list">
|
379
|
-
<h2>Constructor Details</h2>
|
380
|
-
|
381
|
-
<div class="method_details first">
|
382
|
-
<h3 class="signature first" id="initialize-instance_method">
|
383
|
-
|
384
|
-
#<strong>initialize</strong>(text = '', font = '', font_size = 0) ⇒ <tt><span class='object_link'><a href="" title="MG::Text (class)">Text</a></span></tt>
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
</h3><div class="docstring">
|
391
|
-
<div class="discussion">
|
392
|
-
|
393
|
-
<p>Creates a new Text widget with optional content, font name and size.</p>
|
394
|
-
|
395
|
-
|
396
|
-
</div>
|
397
|
-
</div>
|
398
|
-
<div class="tags">
|
399
|
-
<p class="tag_title">Parameters:</p>
|
400
|
-
<ul class="param">
|
401
|
-
|
402
|
-
<li>
|
403
|
-
|
404
|
-
<span class='name'>text</span>
|
405
|
-
|
406
|
-
|
407
|
-
<span class='type'>(<tt>String</tt>)</span>
|
408
|
-
|
409
|
-
|
410
|
-
<em class="default">(defaults to: <tt>''</tt>)</em>
|
411
|
-
|
412
|
-
|
413
|
-
—
|
414
|
-
<div class='inline'>
|
415
|
-
<p>content for the text widget.</p>
|
416
|
-
</div>
|
417
|
-
|
418
|
-
</li>
|
419
|
-
|
420
|
-
<li>
|
421
|
-
|
422
|
-
<span class='name'>font</span>
|
423
|
-
|
424
|
-
|
425
|
-
<span class='type'>(<tt>String</tt>)</span>
|
426
|
-
|
427
|
-
|
428
|
-
<em class="default">(defaults to: <tt>''</tt>)</em>
|
429
|
-
|
430
|
-
|
431
|
-
—
|
432
|
-
<div class='inline'>
|
433
|
-
<p>name of the font the text widget should use.</p>
|
434
|
-
</div>
|
435
|
-
|
436
|
-
</li>
|
437
|
-
|
438
|
-
<li>
|
439
|
-
|
440
|
-
<span class='name'>font_size</span>
|
441
|
-
|
442
|
-
|
443
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
444
|
-
|
445
|
-
|
446
|
-
<em class="default">(defaults to: <tt>0</tt>)</em>
|
447
|
-
|
448
|
-
|
449
|
-
—
|
450
|
-
<div class='inline'>
|
451
|
-
<p>size of the font the text widget should use.</p>
|
452
|
-
</div>
|
453
|
-
|
454
|
-
</li>
|
455
|
-
|
456
|
-
</ul>
|
457
|
-
|
458
|
-
|
459
|
-
</div><table class="source_code">
|
460
|
-
<tr>
|
461
|
-
<td>
|
462
|
-
<pre class="lines">
|
463
|
-
|
464
|
-
|
465
|
-
1188</pre>
|
466
|
-
</td>
|
467
|
-
<td>
|
468
|
-
<pre class="code"><span class="info file"># File 'motion-game', line 1188</span>
|
469
|
-
|
470
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_text'>text</span><span class='op'>=</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_font'>font</span><span class='op'>=</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_font_size'>font_size</span><span class='op'>=</span><span class='int'>0</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
|
471
|
-
</td>
|
472
|
-
</tr>
|
473
|
-
</table>
|
474
|
-
</div>
|
475
|
-
|
476
|
-
</div>
|
477
|
-
|
478
|
-
<div id="instance_attr_details" class="attr_details">
|
479
|
-
<h2>Instance Attribute Details</h2>
|
480
|
-
|
481
|
-
|
482
|
-
<span id="area_size=-instance_method"></span>
|
483
|
-
<div class="method_details first">
|
484
|
-
<h3 class="signature first" id="area_size-instance_method">
|
485
|
-
|
486
|
-
#<strong>area_size</strong> ⇒ <tt><span class='object_link'><a href="Size.html" title="MG::Size (class)">Size</a></span></tt>
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
</h3><div class="docstring">
|
493
|
-
<div class="discussion">
|
494
|
-
|
495
|
-
<p>Returns the text rendering area size.</p>
|
496
|
-
|
497
|
-
|
498
|
-
</div>
|
499
|
-
</div>
|
500
|
-
<div class="tags">
|
501
|
-
|
502
|
-
<p class="tag_title">Returns:</p>
|
503
|
-
<ul class="return">
|
504
|
-
|
505
|
-
<li>
|
506
|
-
|
507
|
-
|
508
|
-
<span class='type'>(<tt><span class='object_link'><a href="Size.html" title="MG::Size (class)">Size</a></span></tt>)</span>
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
—
|
513
|
-
<div class='inline'>
|
514
|
-
<p>the text rendering area size.</p>
|
515
|
-
</div>
|
516
|
-
|
517
|
-
</li>
|
518
|
-
|
519
|
-
</ul>
|
520
|
-
|
521
|
-
</div><table class="source_code">
|
522
|
-
<tr>
|
523
|
-
<td>
|
524
|
-
<pre class="lines">
|
525
|
-
|
526
|
-
|
527
|
-
1206
|
528
|
-
1207
|
529
|
-
1208</pre>
|
530
|
-
</td>
|
531
|
-
<td>
|
532
|
-
<pre class="code"><span class="info file"># File 'motion-game', line 1206</span>
|
533
|
-
|
534
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_area_size'>area_size</span>
|
535
|
-
<span class='ivar'>@area_size</span>
|
536
|
-
<span class='kw'>end</span></pre>
|
537
|
-
</td>
|
538
|
-
</tr>
|
539
|
-
</table>
|
540
|
-
</div>
|
541
|
-
|
542
|
-
|
543
|
-
<span id="font=-instance_method"></span>
|
544
|
-
<div class="method_details ">
|
545
|
-
<h3 class="signature " id="font-instance_method">
|
546
|
-
|
547
|
-
#<strong>font</strong> ⇒ <tt>String</tt>
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
</h3><div class="docstring">
|
554
|
-
<div class="discussion">
|
555
|
-
|
556
|
-
<p>Returns name of the font used by the widget.</p>
|
557
|
-
|
558
|
-
|
559
|
-
</div>
|
560
|
-
</div>
|
561
|
-
<div class="tags">
|
562
|
-
|
563
|
-
<p class="tag_title">Returns:</p>
|
564
|
-
<ul class="return">
|
565
|
-
|
566
|
-
<li>
|
567
|
-
|
568
|
-
|
569
|
-
<span class='type'>(<tt>String</tt>)</span>
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
—
|
574
|
-
<div class='inline'>
|
575
|
-
<p>name of the font used by the widget.</p>
|
576
|
-
</div>
|
577
|
-
|
578
|
-
</li>
|
579
|
-
|
580
|
-
</ul>
|
581
|
-
|
582
|
-
</div><table class="source_code">
|
583
|
-
<tr>
|
584
|
-
<td>
|
585
|
-
<pre class="lines">
|
586
|
-
|
587
|
-
|
588
|
-
1200
|
589
|
-
1201
|
590
|
-
1202</pre>
|
591
|
-
</td>
|
592
|
-
<td>
|
593
|
-
<pre class="code"><span class="info file"># File 'motion-game', line 1200</span>
|
594
|
-
|
595
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_font'>font</span>
|
596
|
-
<span class='ivar'>@font</span>
|
597
|
-
<span class='kw'>end</span></pre>
|
598
|
-
</td>
|
599
|
-
</tr>
|
600
|
-
</table>
|
601
|
-
</div>
|
602
|
-
|
603
|
-
|
604
|
-
<span id="font_size=-instance_method"></span>
|
605
|
-
<div class="method_details ">
|
606
|
-
<h3 class="signature " id="font_size-instance_method">
|
607
|
-
|
608
|
-
#<strong>font_size</strong> ⇒ <tt>Integer</tt>
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
</h3><div class="docstring">
|
615
|
-
<div class="discussion">
|
616
|
-
|
617
|
-
<p>Returns size of the font used by the widget.</p>
|
618
|
-
|
619
|
-
|
620
|
-
</div>
|
621
|
-
</div>
|
622
|
-
<div class="tags">
|
623
|
-
|
624
|
-
<p class="tag_title">Returns:</p>
|
625
|
-
<ul class="return">
|
626
|
-
|
627
|
-
<li>
|
628
|
-
|
629
|
-
|
630
|
-
<span class='type'>(<tt>Integer</tt>)</span>
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
—
|
635
|
-
<div class='inline'>
|
636
|
-
<p>size of the font used by the widget.</p>
|
637
|
-
</div>
|
638
|
-
|
639
|
-
</li>
|
640
|
-
|
641
|
-
</ul>
|
642
|
-
|
643
|
-
</div><table class="source_code">
|
644
|
-
<tr>
|
645
|
-
<td>
|
646
|
-
<pre class="lines">
|
647
|
-
|
648
|
-
|
649
|
-
1203
|
650
|
-
1204
|
651
|
-
1205</pre>
|
652
|
-
</td>
|
653
|
-
<td>
|
654
|
-
<pre class="code"><span class="info file"># File 'motion-game', line 1203</span>
|
655
|
-
|
656
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_font_size'>font_size</span>
|
657
|
-
<span class='ivar'>@font_size</span>
|
658
|
-
<span class='kw'>end</span></pre>
|
659
|
-
</td>
|
660
|
-
</tr>
|
661
|
-
</table>
|
662
|
-
</div>
|
663
|
-
|
664
|
-
|
665
|
-
<span id="horizontal_align=-instance_method"></span>
|
666
|
-
<div class="method_details ">
|
667
|
-
<h3 class="signature " id="horizontal_align-instance_method">
|
668
|
-
|
669
|
-
#<strong>horizontal_align</strong> ⇒ <tt>:left</tt>, ...
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
</h3><div class="docstring">
|
676
|
-
<div class="discussion">
|
677
|
-
|
678
|
-
<p>Returns the horizontal alignment of the text.</p>
|
679
|
-
|
680
|
-
|
681
|
-
</div>
|
682
|
-
</div>
|
683
|
-
<div class="tags">
|
684
|
-
|
685
|
-
<p class="tag_title">Returns:</p>
|
686
|
-
<ul class="return">
|
687
|
-
|
688
|
-
<li>
|
689
|
-
|
690
|
-
|
691
|
-
<span class='type'>(<tt>:left</tt>, <tt>:center</tt>, <tt>:right</tt>)</span>
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
—
|
696
|
-
<div class='inline'>
|
697
|
-
<p>the horizontal alignment of the text.</p>
|
698
|
-
</div>
|
699
|
-
|
700
|
-
</li>
|
701
|
-
|
702
|
-
</ul>
|
703
|
-
|
704
|
-
</div><table class="source_code">
|
705
|
-
<tr>
|
706
|
-
<td>
|
707
|
-
<pre class="lines">
|
708
|
-
|
709
|
-
|
710
|
-
1212
|
711
|
-
1213
|
712
|
-
1214</pre>
|
713
|
-
</td>
|
714
|
-
<td>
|
715
|
-
<pre class="code"><span class="info file"># File 'motion-game', line 1212</span>
|
716
|
-
|
717
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_horizontal_align'>horizontal_align</span>
|
718
|
-
<span class='ivar'>@horizontal_align</span>
|
719
|
-
<span class='kw'>end</span></pre>
|
720
|
-
</td>
|
721
|
-
</tr>
|
722
|
-
</table>
|
723
|
-
</div>
|
724
|
-
|
725
|
-
|
726
|
-
<span id="text=-instance_method"></span>
|
727
|
-
<div class="method_details ">
|
728
|
-
<h3 class="signature " id="text-instance_method">
|
729
|
-
|
730
|
-
#<strong>text</strong> ⇒ <tt>String</tt>
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
</h3><div class="docstring">
|
737
|
-
<div class="discussion">
|
738
|
-
|
739
|
-
<p>Returns content of the widget.</p>
|
740
|
-
|
741
|
-
|
742
|
-
</div>
|
743
|
-
</div>
|
744
|
-
<div class="tags">
|
745
|
-
|
746
|
-
<p class="tag_title">Returns:</p>
|
747
|
-
<ul class="return">
|
748
|
-
|
749
|
-
<li>
|
750
|
-
|
751
|
-
|
752
|
-
<span class='type'>(<tt>String</tt>)</span>
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
—
|
757
|
-
<div class='inline'>
|
758
|
-
<p>content of the widget.</p>
|
759
|
-
</div>
|
760
|
-
|
761
|
-
</li>
|
762
|
-
|
763
|
-
</ul>
|
764
|
-
|
765
|
-
</div><table class="source_code">
|
766
|
-
<tr>
|
767
|
-
<td>
|
768
|
-
<pre class="lines">
|
769
|
-
|
770
|
-
|
771
|
-
1194
|
772
|
-
1195
|
773
|
-
1196</pre>
|
774
|
-
</td>
|
775
|
-
<td>
|
776
|
-
<pre class="code"><span class="info file"># File 'motion-game', line 1194</span>
|
777
|
-
|
778
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_text'>text</span>
|
779
|
-
<span class='ivar'>@text</span>
|
780
|
-
<span class='kw'>end</span></pre>
|
781
|
-
</td>
|
782
|
-
</tr>
|
783
|
-
</table>
|
784
|
-
</div>
|
785
|
-
|
786
|
-
|
787
|
-
<span id="text_color=-instance_method"></span>
|
788
|
-
<div class="method_details ">
|
789
|
-
<h3 class="signature " id="text_color-instance_method">
|
790
|
-
|
791
|
-
#<strong>text_color</strong> ⇒ <tt><span class='object_link'><a href="Color.html" title="MG::Color (class)">Color</a></span></tt>
|
792
|
-
|
793
|
-
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
</h3><div class="docstring">
|
798
|
-
<div class="discussion">
|
799
|
-
|
800
|
-
<p>Returns color of the text part of the widget.</p>
|
801
|
-
|
802
|
-
|
803
|
-
</div>
|
804
|
-
</div>
|
805
|
-
<div class="tags">
|
806
|
-
|
807
|
-
<p class="tag_title">Returns:</p>
|
808
|
-
<ul class="return">
|
809
|
-
|
810
|
-
<li>
|
811
|
-
|
812
|
-
|
813
|
-
<span class='type'>(<tt><span class='object_link'><a href="Color.html" title="MG::Color (class)">Color</a></span></tt>)</span>
|
814
|
-
|
815
|
-
|
816
|
-
|
817
|
-
—
|
818
|
-
<div class='inline'>
|
819
|
-
<p>color of the text part of the widget.</p>
|
820
|
-
</div>
|
821
|
-
|
822
|
-
</li>
|
823
|
-
|
824
|
-
</ul>
|
825
|
-
|
826
|
-
</div><table class="source_code">
|
827
|
-
<tr>
|
828
|
-
<td>
|
829
|
-
<pre class="lines">
|
830
|
-
|
831
|
-
|
832
|
-
1197
|
833
|
-
1198
|
834
|
-
1199</pre>
|
835
|
-
</td>
|
836
|
-
<td>
|
837
|
-
<pre class="code"><span class="info file"># File 'motion-game', line 1197</span>
|
838
|
-
|
839
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_text_color'>text_color</span>
|
840
|
-
<span class='ivar'>@text_color</span>
|
841
|
-
<span class='kw'>end</span></pre>
|
842
|
-
</td>
|
843
|
-
</tr>
|
844
|
-
</table>
|
845
|
-
</div>
|
846
|
-
|
847
|
-
|
848
|
-
<span id="vertical_align=-instance_method"></span>
|
849
|
-
<div class="method_details ">
|
850
|
-
<h3 class="signature " id="vertical_align-instance_method">
|
851
|
-
|
852
|
-
#<strong>vertical_align</strong> ⇒ <tt>:top</tt>, ...
|
853
|
-
|
854
|
-
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
</h3><div class="docstring">
|
859
|
-
<div class="discussion">
|
860
|
-
|
861
|
-
<p>Returns the vertical alignment of the text.</p>
|
862
|
-
|
863
|
-
|
864
|
-
</div>
|
865
|
-
</div>
|
866
|
-
<div class="tags">
|
867
|
-
|
868
|
-
<p class="tag_title">Returns:</p>
|
869
|
-
<ul class="return">
|
870
|
-
|
871
|
-
<li>
|
872
|
-
|
873
|
-
|
874
|
-
<span class='type'>(<tt>:top</tt>, <tt>:center</tt>, <tt>:bottom</tt>)</span>
|
875
|
-
|
876
|
-
|
877
|
-
|
878
|
-
—
|
879
|
-
<div class='inline'>
|
880
|
-
<p>the vertical alignment of the text.</p>
|
881
|
-
</div>
|
882
|
-
|
883
|
-
</li>
|
884
|
-
|
885
|
-
</ul>
|
886
|
-
|
887
|
-
</div><table class="source_code">
|
888
|
-
<tr>
|
889
|
-
<td>
|
890
|
-
<pre class="lines">
|
891
|
-
|
892
|
-
|
893
|
-
1209
|
894
|
-
1210
|
895
|
-
1211</pre>
|
896
|
-
</td>
|
897
|
-
<td>
|
898
|
-
<pre class="code"><span class="info file"># File 'motion-game', line 1209</span>
|
899
|
-
|
900
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_vertical_align'>vertical_align</span>
|
901
|
-
<span class='ivar'>@vertical_align</span>
|
902
|
-
<span class='kw'>end</span></pre>
|
903
|
-
</td>
|
904
|
-
</tr>
|
905
|
-
</table>
|
906
|
-
</div>
|
907
|
-
|
908
|
-
</div>
|
909
|
-
|
910
|
-
|
911
|
-
</div>
|
912
|
-
|
913
|
-
<div id="footer">
|
914
|
-
Generated on Sun Dec 11 16:38:30 2016 by
|
915
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
916
|
-
0.9.5 (ruby-2.3.3).
|
917
|
-
</div>
|
918
|
-
|
919
|
-
</div>
|
920
|
-
</body>
|
921
|
-
</html>
|