dxopal 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: DXOpal::Input
8
8
 
9
- &mdash; Documentation by YARD 0.9.12
9
+ &mdash; Documentation by YARD 0.9.16
10
10
 
11
11
  </title>
12
12
 
@@ -94,11 +94,16 @@
94
94
 
95
95
  </p>
96
96
 
97
- <h2>Constant Summary</h2>
98
- <dl class="constants">
99
-
100
- <dt id="ON_KEYDOWN_-constant" class="">ON_KEYDOWN_ =
101
- <div class="docstring">
97
+
98
+ <h2>
99
+ Constant Summary
100
+ <small><a href="#" class="constants_summary_toggle">collapse</a></small>
101
+ </h2>
102
+
103
+ <dl class="constants">
104
+
105
+ <dt id="ON_KEYDOWN_-constant" class="">ON_KEYDOWN_ =
106
+ <div class="docstring">
102
107
  <div class="discussion">
103
108
 
104
109
  <p>(private) JS keydown event handler</p>
@@ -110,17 +115,17 @@
110
115
 
111
116
 
112
117
  </div>
113
- </dt>
114
- <dd><pre class="code"><span class='backtick'>%x{</span><span class='tstring_content'>
118
+ </dt>
119
+ <dd><pre class="code"><span class='backtick'>%x{</span><span class='tstring_content'>
115
120
  function(ev){
116
121
  </span><span class='embexpr_beg'>#{</span><span class='const'>Input</span><span class='period'>.</span><span class='id identifier rubyid__pressing_keys'><span class='object_link'><a href="#_pressing_keys-class_method" title="DXOpal::Input._pressing_keys (method)">_pressing_keys</a></span></span><span class='embexpr_end'>}</span><span class='tstring_content'>[ev.code] = </span><span class='embexpr_beg'>#{</span><span class='cvar'>@@tick</span><span class='embexpr_end'>}</span><span class='tstring_content'>;
117
122
  ev.preventDefault();
118
123
  ev.stopPropagation();
119
124
  }
120
125
  </span><span class='tstring_end'>}</span></span></pre></dd>
121
-
122
- <dt id="ON_KEYUP_-constant" class="">ON_KEYUP_ =
123
- <div class="docstring">
126
+
127
+ <dt id="ON_KEYUP_-constant" class="">ON_KEYUP_ =
128
+ <div class="docstring">
124
129
  <div class="discussion">
125
130
 
126
131
  <p>(private) JS keyup event handler</p>
@@ -132,16 +137,17 @@
132
137
 
133
138
 
134
139
  </div>
135
- </dt>
136
- <dd><pre class="code"><span class='backtick'>%x{</span><span class='tstring_content'>
140
+ </dt>
141
+ <dd><pre class="code"><span class='backtick'>%x{</span><span class='tstring_content'>
137
142
  function(ev){
138
143
  </span><span class='embexpr_beg'>#{</span><span class='const'>Input</span><span class='period'>.</span><span class='id identifier rubyid__pressing_keys'><span class='object_link'><a href="#_pressing_keys-class_method" title="DXOpal::Input._pressing_keys (method)">_pressing_keys</a></span></span><span class='embexpr_end'>}</span><span class='tstring_content'>[ev.code] = -</span><span class='embexpr_beg'>#{</span><span class='cvar'>@@tick</span><span class='embexpr_end'>}</span><span class='tstring_content'>;
139
144
  ev.preventDefault();
140
145
  ev.stopPropagation();
141
146
  }
142
147
  </span><span class='tstring_end'>}</span></span></pre></dd>
143
-
144
- </dl>
148
+
149
+ </dl>
150
+
145
151
 
146
152
 
147
153
 
@@ -1376,9 +1382,9 @@ canvas are processed by DXOpal.</p>
1376
1382
  </div>
1377
1383
 
1378
1384
  <div id="footer">
1379
- Generated on Wed May 16 19:58:23 2018 by
1385
+ Generated on Sat Sep 29 15:56:47 2018 by
1380
1386
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1381
- 0.9.12 (ruby-2.4.2).
1387
+ 0.9.16 (ruby-2.5.1).
1382
1388
  </div>
1383
1389
 
1384
1390
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: DXOpal::Input::MouseCodes
8
8
 
9
- &mdash; Documentation by YARD 0.9.12
9
+ &mdash; Documentation by YARD 0.9.16
10
10
 
11
11
  </title>
12
12
 
@@ -84,26 +84,31 @@
84
84
  </div>
85
85
 
86
86
 
87
- <h2>Constant Summary</h2>
88
- <dl class="constants">
89
-
90
- <dt id="M_LBUTTON-constant" class="">M_LBUTTON =
91
-
92
- </dt>
93
- <dd><pre class="code"><span class='int'>1</span></pre></dd>
94
-
95
- <dt id="M_RBUTTON-constant" class="">M_RBUTTON =
96
-
97
- </dt>
98
- <dd><pre class="code"><span class='int'>2</span></pre></dd>
99
-
100
- <dt id="M_MBUTTON-constant" class="">M_MBUTTON =
101
-
102
- </dt>
103
- <dd><pre class="code"><span class='int'>4</span></pre></dd>
104
-
105
- <dt id="M_4TH_BUTTON-constant" class="">M_4TH_BUTTON =
106
- <div class="docstring">
87
+
88
+ <h2>
89
+ Constant Summary
90
+ <small><a href="#" class="constants_summary_toggle">collapse</a></small>
91
+ </h2>
92
+
93
+ <dl class="constants">
94
+
95
+ <dt id="M_LBUTTON-constant" class="">M_LBUTTON =
96
+
97
+ </dt>
98
+ <dd><pre class="code"><span class='int'>1</span></pre></dd>
99
+
100
+ <dt id="M_RBUTTON-constant" class="">M_RBUTTON =
101
+
102
+ </dt>
103
+ <dd><pre class="code"><span class='int'>2</span></pre></dd>
104
+
105
+ <dt id="M_MBUTTON-constant" class="">M_MBUTTON =
106
+
107
+ </dt>
108
+ <dd><pre class="code"><span class='int'>4</span></pre></dd>
109
+
110
+ <dt id="M_4TH_BUTTON-constant" class="">M_4TH_BUTTON =
111
+ <div class="docstring">
107
112
  <div class="discussion">
108
113
 
109
114
  <p>DXOpal extention</p>
@@ -115,15 +120,16 @@
115
120
 
116
121
 
117
122
  </div>
118
- </dt>
119
- <dd><pre class="code"><span class='int'>8</span></pre></dd>
120
-
121
- <dt id="M_5TH_BUTTON-constant" class="">M_5TH_BUTTON =
122
-
123
- </dt>
124
- <dd><pre class="code"><span class='int'>16</span></pre></dd>
125
-
126
- </dl>
123
+ </dt>
124
+ <dd><pre class="code"><span class='int'>8</span></pre></dd>
125
+
126
+ <dt id="M_5TH_BUTTON-constant" class="">M_5TH_BUTTON =
127
+
128
+ </dt>
129
+ <dd><pre class="code"><span class='int'>16</span></pre></dd>
130
+
131
+ </dl>
132
+
127
133
 
128
134
 
129
135
 
@@ -136,9 +142,9 @@
136
142
  </div>
137
143
 
138
144
  <div id="footer">
139
- Generated on Wed May 16 19:58:23 2018 by
145
+ Generated on Sat Sep 29 15:56:47 2018 by
140
146
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
141
- 0.9.12 (ruby-2.4.2).
147
+ 0.9.16 (ruby-2.5.1).
142
148
  </div>
143
149
 
144
150
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: DXOpal::RemoteResource
8
8
 
9
- &mdash; Documentation by YARD 0.9.12
9
+ &mdash; Documentation by YARD 0.9.16
10
10
 
11
11
  </title>
12
12
 
@@ -119,11 +119,16 @@ must impelment `&lt;klass&gt;._load`.</p>
119
119
  <p class="children"><span class='object_link'><a href="Image.html" title="DXOpal::Image (class)">Image</a></span>, <span class='object_link'><a href="Sound.html" title="DXOpal::Sound (class)">Sound</a></span></p>
120
120
  </div>
121
121
 
122
- <h2>Constant Summary</h2>
123
- <dl class="constants">
124
-
125
- <dt id="resources-classvariable" class="">@@resources =
126
- <div class="docstring">
122
+
123
+ <h2>
124
+ Constant Summary
125
+ <small><a href="#" class="constants_summary_toggle">collapse</a></small>
126
+ </h2>
127
+
128
+ <dl class="constants">
129
+
130
+ <dt id="resources-classvariable" class="">@@resources =
131
+ <div class="docstring">
127
132
  <div class="discussion">
128
133
 
129
134
  <p>List of registered resources (Contains path_or_url)</p>
@@ -135,11 +140,11 @@ must impelment `&lt;klass&gt;._load`.</p>
135
140
 
136
141
 
137
142
  </div>
138
- </dt>
139
- <dd><pre class="code"><span class='const'>Hash</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_h'>h</span><span class='comma'>,</span><span class='id identifier rubyid_k'>k</span><span class='op'>|</span> <span class='id identifier rubyid_h'>h</span><span class='lbracket'>[</span><span class='id identifier rubyid_k'>k</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rbrace'>}</span></pre></dd>
140
-
141
- <dt id="promises-classvariable" class="">@@promises =
142
- <div class="docstring">
143
+ </dt>
144
+ <dd><pre class="code"><span class='const'>Hash</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_h'>h</span><span class='comma'>,</span><span class='id identifier rubyid_k'>k</span><span class='op'>|</span> <span class='id identifier rubyid_h'>h</span><span class='lbracket'>[</span><span class='id identifier rubyid_k'>k</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rbrace'>}</span></pre></dd>
145
+
146
+ <dt id="promises-classvariable" class="">@@promises =
147
+ <div class="docstring">
143
148
  <div class="discussion">
144
149
 
145
150
  <p>Contains promises</p>
@@ -151,11 +156,11 @@ must impelment `&lt;klass&gt;._load`.</p>
151
156
 
152
157
 
153
158
  </div>
154
- </dt>
155
- <dd><pre class="code"><span class='const'>Hash</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_h'>h</span><span class='comma'>,</span><span class='id identifier rubyid_k'>k</span><span class='op'>|</span> <span class='id identifier rubyid_h'>h</span><span class='lbracket'>[</span><span class='id identifier rubyid_k'>k</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rbrace'>}</span></pre></dd>
156
-
157
- <dt id="instances-classvariable" class="">@@instances =
158
- <div class="docstring">
159
+ </dt>
160
+ <dd><pre class="code"><span class='const'>Hash</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_h'>h</span><span class='comma'>,</span><span class='id identifier rubyid_k'>k</span><span class='op'>|</span> <span class='id identifier rubyid_h'>h</span><span class='lbracket'>[</span><span class='id identifier rubyid_k'>k</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rbrace'>}</span></pre></dd>
161
+
162
+ <dt id="instances-classvariable" class="">@@instances =
163
+ <div class="docstring">
159
164
  <div class="discussion">
160
165
 
161
166
  <p>Contains instances of Image, Sound</p>
@@ -167,11 +172,11 @@ must impelment `&lt;klass&gt;._load`.</p>
167
172
 
168
173
 
169
174
  </div>
170
- </dt>
171
- <dd><pre class="code"><span class='const'>Hash</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_h'>h</span><span class='comma'>,</span><span class='id identifier rubyid_k'>k</span><span class='op'>|</span> <span class='id identifier rubyid_h'>h</span><span class='lbracket'>[</span><span class='id identifier rubyid_k'>k</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rbrace'>}</span></pre></dd>
172
-
173
- <dt id="klasses-classvariable" class="">@@klasses =
174
- <div class="docstring">
175
+ </dt>
176
+ <dd><pre class="code"><span class='const'>Hash</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_h'>h</span><span class='comma'>,</span><span class='id identifier rubyid_k'>k</span><span class='op'>|</span> <span class='id identifier rubyid_h'>h</span><span class='lbracket'>[</span><span class='id identifier rubyid_k'>k</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rbrace'>}</span></pre></dd>
177
+
178
+ <dt id="klasses-classvariable" class="">@@klasses =
179
+ <div class="docstring">
175
180
  <div class="discussion">
176
181
 
177
182
  <p>Subclasses of RemoteResource</p>
@@ -183,10 +188,11 @@ must impelment `&lt;klass&gt;._load`.</p>
183
188
 
184
189
 
185
190
  </div>
186
- </dt>
187
- <dd><pre class="code"><span class='lbrace'>{</span><span class='rbrace'>}</span></pre></dd>
188
-
189
- </dl>
191
+ </dt>
192
+ <dd><pre class="code"><span class='lbrace'>{</span><span class='rbrace'>}</span></pre></dd>
193
+
194
+ </dl>
195
+
190
196
 
191
197
 
192
198
 
@@ -633,9 +639,9 @@ must impelment `&lt;klass&gt;._load`.</p>
633
639
  </div>
634
640
 
635
641
  <div id="footer">
636
- Generated on Wed May 16 19:58:24 2018 by
642
+ Generated on Sat Sep 29 15:56:48 2018 by
637
643
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
638
- 0.9.12 (ruby-2.4.2).
644
+ 0.9.16 (ruby-2.5.1).
639
645
  </div>
640
646
 
641
647
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: DXOpal::Sound
8
8
 
9
- &mdash; Documentation by YARD 0.9.12
9
+ &mdash; Documentation by YARD 0.9.16
10
10
 
11
11
  </title>
12
12
 
@@ -631,9 +631,9 @@
631
631
  </div>
632
632
 
633
633
  <div id="footer">
634
- Generated on Wed May 16 19:58:24 2018 by
634
+ Generated on Sat Sep 29 15:56:48 2018 by
635
635
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
636
- 0.9.12 (ruby-2.4.2).
636
+ 0.9.16 (ruby-2.5.1).
637
637
  </div>
638
638
 
639
639
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: DXOpal::SoundEffect
8
8
 
9
- &mdash; Documentation by YARD 0.9.12
9
+ &mdash; Documentation by YARD 0.9.16
10
10
 
11
11
  </title>
12
12
 
@@ -263,7 +263,8 @@ equivalent to the total length of the sound in milliseconds.</p>
263
263
  <p>time : Total number of ticks</p>
264
264
 
265
265
  <pre class="code ruby"><code class="ruby">When resolution=1000(default), `time` is equivalent to the
266
- total length of the sound in milliseconds.</code></pre>
266
+ total length of the sound in milliseconds.
267
+ </code></pre>
267
268
 
268
269
  <p>wave_type : Type of wave form resolution : Number of ticks per second block
269
270
  : Should return [freq(0~44100), volume(0~255)]</p>
@@ -438,9 +439,9 @@ total length of the sound in milliseconds.</code></pre>
438
439
  </div>
439
440
 
440
441
  <div id="footer">
441
- Generated on Wed May 16 19:58:24 2018 by
442
+ Generated on Sat Sep 29 15:56:48 2018 by
442
443
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
443
- 0.9.12 (ruby-2.4.2).
444
+ 0.9.16 (ruby-2.5.1).
444
445
  </div>
445
446
 
446
447
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: DXOpal::SoundEffect::WaveTypes
8
8
 
9
- &mdash; Documentation by YARD 0.9.12
9
+ &mdash; Documentation by YARD 0.9.16
10
10
 
11
11
  </title>
12
12
 
@@ -84,30 +84,36 @@
84
84
  </div>
85
85
 
86
86
 
87
- <h2>Constant Summary</h2>
88
- <dl class="constants">
89
-
90
- <dt id="WAVE_SIN-constant" class="">WAVE_SIN =
91
-
92
- </dt>
93
- <dd><pre class="code"><span class='symbol'>:sine</span></pre></dd>
94
-
95
- <dt id="WAVE_SAW-constant" class="">WAVE_SAW =
96
-
97
- </dt>
98
- <dd><pre class="code"><span class='symbol'>:sawtooth</span></pre></dd>
99
-
100
- <dt id="WAVE_TRI-constant" class="">WAVE_TRI =
101
-
102
- </dt>
103
- <dd><pre class="code"><span class='symbol'>:triangle</span></pre></dd>
104
-
105
- <dt id="WAVE_RECT-constant" class="">WAVE_RECT =
106
-
107
- </dt>
108
- <dd><pre class="code"><span class='symbol'>:square</span></pre></dd>
109
-
110
- </dl>
87
+
88
+ <h2>
89
+ Constant Summary
90
+ <small><a href="#" class="constants_summary_toggle">collapse</a></small>
91
+ </h2>
92
+
93
+ <dl class="constants">
94
+
95
+ <dt id="WAVE_SIN-constant" class="">WAVE_SIN =
96
+
97
+ </dt>
98
+ <dd><pre class="code"><span class='symbol'>:sine</span></pre></dd>
99
+
100
+ <dt id="WAVE_SAW-constant" class="">WAVE_SAW =
101
+
102
+ </dt>
103
+ <dd><pre class="code"><span class='symbol'>:sawtooth</span></pre></dd>
104
+
105
+ <dt id="WAVE_TRI-constant" class="">WAVE_TRI =
106
+
107
+ </dt>
108
+ <dd><pre class="code"><span class='symbol'>:triangle</span></pre></dd>
109
+
110
+ <dt id="WAVE_RECT-constant" class="">WAVE_RECT =
111
+
112
+ </dt>
113
+ <dd><pre class="code"><span class='symbol'>:square</span></pre></dd>
114
+
115
+ </dl>
116
+
111
117
 
112
118
 
113
119
 
@@ -120,9 +126,9 @@
120
126
  </div>
121
127
 
122
128
  <div id="footer">
123
- Generated on Wed May 16 19:58:23 2018 by
129
+ Generated on Sat Sep 29 15:56:47 2018 by
124
130
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
125
- 0.9.12 (ruby-2.4.2).
131
+ 0.9.16 (ruby-2.5.1).
126
132
  </div>
127
133
 
128
134
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: DXOpal::Sprite
8
8
 
9
- &mdash; Documentation by YARD 0.9.12
9
+ &mdash; Documentation by YARD 0.9.16
10
10
 
11
11
  </title>
12
12
 
@@ -116,6 +116,33 @@
116
116
  <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
117
117
  <ul class="summary">
118
118
 
119
+ <li class="public ">
120
+ <span class="summary_signature">
121
+
122
+ <a href="#alpha-instance_method" title="#alpha (instance method)">#<strong>alpha</strong> &#x21d2; Object </a>
123
+
124
+
125
+
126
+ </span>
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+
135
+
136
+
137
+
138
+
139
+ <span class="summary_desc"><div class='inline'>
140
+ <p>Set alpha (0~255, default: nil).</p>
141
+ </div></span>
142
+
143
+ </li>
144
+
145
+
119
146
  <li class="public ">
120
147
  <span class="summary_signature">
121
148
 
@@ -140,6 +167,34 @@
140
167
  <p>Set angle (0~360, default: 0).</p>
141
168
  </div></span>
142
169
 
170
+ </li>
171
+
172
+
173
+ <li class="public ">
174
+ <span class="summary_signature">
175
+
176
+ <a href="#blend-instance_method" title="#blend (instance method)">#<strong>blend</strong> &#x21d2; Object </a>
177
+
178
+
179
+
180
+ </span>
181
+
182
+
183
+
184
+
185
+
186
+
187
+
188
+
189
+
190
+
191
+
192
+
193
+ <span class="summary_desc"><div class='inline'>
194
+ <p>Set blend type (Any of :alpha(default), :add) (:none, :add2 and :sub are
195
+ not implemented yet; Pull request is welcome).</p>
196
+ </div></span>
197
+
143
198
  </li>
144
199
 
145
200
 
@@ -669,9 +724,52 @@
669
724
  <h2>Instance Attribute Details</h2>
670
725
 
671
726
 
672
- <span id="angle=-instance_method"></span>
727
+ <span id="alpha=-instance_method"></span>
673
728
  <div class="method_details first">
674
- <h3 class="signature first" id="angle-instance_method">
729
+ <h3 class="signature first" id="alpha-instance_method">
730
+
731
+ #<strong>alpha</strong> &#x21d2; <tt>Object</tt>
732
+
733
+
734
+
735
+
736
+
737
+ </h3><div class="docstring">
738
+ <div class="discussion">
739
+
740
+ <p>Set alpha (0~255, default: nil)</p>
741
+
742
+
743
+ </div>
744
+ </div>
745
+ <div class="tags">
746
+
747
+
748
+ </div><table class="source_code">
749
+ <tr>
750
+ <td>
751
+ <pre class="lines">
752
+
753
+
754
+ 57
755
+ 58
756
+ 59</pre>
757
+ </td>
758
+ <td>
759
+ <pre class="code"><span class="info file"># File 'opal/dxopal/sprite.rb', line 57</span>
760
+
761
+ <span class='kw'>def</span> <span class='id identifier rubyid_alpha'>alpha</span>
762
+ <span class='ivar'>@alpha</span>
763
+ <span class='kw'>end</span></pre>
764
+ </td>
765
+ </tr>
766
+ </table>
767
+ </div>
768
+
769
+
770
+ <span id="angle=-instance_method"></span>
771
+ <div class="method_details ">
772
+ <h3 class="signature " id="angle-instance_method">
675
773
 
676
774
  #<strong>angle</strong> &#x21d2; <tt>Object</tt>
677
775
 
@@ -712,6 +810,50 @@
712
810
  </div>
713
811
 
714
812
 
813
+ <span id="blend=-instance_method"></span>
814
+ <div class="method_details ">
815
+ <h3 class="signature " id="blend-instance_method">
816
+
817
+ #<strong>blend</strong> &#x21d2; <tt>Object</tt>
818
+
819
+
820
+
821
+
822
+
823
+ </h3><div class="docstring">
824
+ <div class="discussion">
825
+
826
+ <p>Set blend type (Any of :alpha(default), :add) (:none, :add2 and :sub are
827
+ not implemented yet; Pull request is welcome)</p>
828
+
829
+
830
+ </div>
831
+ </div>
832
+ <div class="tags">
833
+
834
+
835
+ </div><table class="source_code">
836
+ <tr>
837
+ <td>
838
+ <pre class="lines">
839
+
840
+
841
+ 60
842
+ 61
843
+ 62</pre>
844
+ </td>
845
+ <td>
846
+ <pre class="code"><span class="info file"># File 'opal/dxopal/sprite.rb', line 60</span>
847
+
848
+ <span class='kw'>def</span> <span class='id identifier rubyid_blend'>blend</span>
849
+ <span class='ivar'>@blend</span>
850
+ <span class='kw'>end</span></pre>
851
+ </td>
852
+ </tr>
853
+ </table>
854
+ </div>
855
+
856
+
715
857
  <span id="center_x=-instance_method"></span>
716
858
  <div class="method_details ">
717
859
  <h3 class="signature " id="center_x-instance_method">
@@ -954,12 +1096,12 @@
954
1096
  <pre class="lines">
955
1097
 
956
1098
 
957
- 57
958
- 58
959
- 59</pre>
1099
+ 62
1100
+ 63
1101
+ 64</pre>
960
1102
  </td>
961
1103
  <td>
962
- <pre class="code"><span class="info file"># File 'opal/dxopal/sprite.rb', line 57</span>
1104
+ <pre class="code"><span class="info file"># File 'opal/dxopal/sprite.rb', line 62</span>
963
1105
 
964
1106
  <span class='kw'>def</span> <span class='id identifier rubyid_x'>x</span>
965
1107
  <span class='ivar'>@x</span>
@@ -997,12 +1139,12 @@
997
1139
  <pre class="lines">
998
1140
 
999
1141
 
1000
- 57
1001
- 58
1002
- 59</pre>
1142
+ 62
1143
+ 63
1144
+ 64</pre>
1003
1145
  </td>
1004
1146
  <td>
1005
- <pre class="code"><span class="info file"># File 'opal/dxopal/sprite.rb', line 57</span>
1147
+ <pre class="code"><span class="info file"># File 'opal/dxopal/sprite.rb', line 62</span>
1006
1148
 
1007
1149
  <span class='kw'>def</span> <span class='id identifier rubyid_y'>y</span>
1008
1150
  <span class='ivar'>@y</span>
@@ -1235,17 +1377,18 @@
1235
1377
  <pre class="lines">
1236
1378
 
1237
1379
 
1238
- 85
1239
- 86
1240
- 87
1241
- 88
1242
- 89
1243
1380
  90
1244
1381
  91
1245
- 92</pre>
1382
+ 92
1383
+ 93
1384
+ 94
1385
+ 95
1386
+ 96
1387
+ 97
1388
+ 98</pre>
1246
1389
  </td>
1247
1390
  <td>
1248
- <pre class="code"><span class="info file"># File 'opal/dxopal/sprite.rb', line 85</span>
1391
+ <pre class="code"><span class="info file"># File 'opal/dxopal/sprite.rb', line 90</span>
1249
1392
 
1250
1393
  <span class='kw'>def</span> <span class='id identifier rubyid_draw'>draw</span>
1251
1394
  <span class='id identifier rubyid_raise'>raise</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>image not set to Sprite</span><span class='tstring_end'>&quot;</span></span> <span class='kw'>if</span> <span class='ivar'>@image</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span>
@@ -1253,6 +1396,7 @@
1253
1396
 
1254
1397
  <span class='const'><span class='object_link'><a href="Window.html" title="DXOpal::Window (module)">Window</a></span></span><span class='period'>.</span><span class='id identifier rubyid_draw_ex'><span class='object_link'><a href="Window.html#draw_ex-class_method" title="DXOpal::Window.draw_ex (method)">draw_ex</a></span></span><span class='lparen'>(</span><span class='ivar'>@x</span><span class='comma'>,</span> <span class='ivar'>@y</span><span class='comma'>,</span> <span class='ivar'>@image</span><span class='comma'>,</span>
1255
1398
  <span class='label'>scale_x:</span> <span class='ivar'>@scale_x</span><span class='comma'>,</span> <span class='label'>scale_y:</span> <span class='ivar'>@scale_y</span><span class='comma'>,</span>
1399
+ <span class='label'>alpha:</span> <span class='ivar'>@alpha</span><span class='comma'>,</span> <span class='label'>blend:</span> <span class='ivar'>@blend</span><span class='comma'>,</span>
1256
1400
  <span class='label'>angle:</span> <span class='ivar'>@angle</span><span class='comma'>,</span> <span class='label'>center_x:</span> <span class='ivar'>@center_x</span><span class='comma'>,</span> <span class='label'>center_y:</span> <span class='ivar'>@center_y</span><span class='rparen'>)</span>
1257
1401
  <span class='kw'>end</span></pre>
1258
1402
  </td>
@@ -1275,10 +1419,10 @@
1275
1419
  <pre class="lines">
1276
1420
 
1277
1421
 
1278
- 69</pre>
1422
+ 74</pre>
1279
1423
  </td>
1280
1424
  <td>
1281
- <pre class="code"><span class="info file"># File 'opal/dxopal/sprite.rb', line 69</span>
1425
+ <pre class="code"><span class="info file"># File 'opal/dxopal/sprite.rb', line 74</span>
1282
1426
 
1283
1427
  <span class='kw'>def</span> <span class='id identifier rubyid_image'>image</span><span class='semicolon'>;</span> <span class='ivar'>@image</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1284
1428
  </td>
@@ -1301,19 +1445,19 @@
1301
1445
  <pre class="lines">
1302
1446
 
1303
1447
 
1304
- 70
1305
- 71
1306
- 72
1307
- 73
1308
- 74
1309
1448
  75
1310
1449
  76
1311
1450
  77
1312
1451
  78
1313
- 79</pre>
1452
+ 79
1453
+ 80
1454
+ 81
1455
+ 82
1456
+ 83
1457
+ 84</pre>
1314
1458
  </td>
1315
1459
  <td>
1316
- <pre class="code"><span class="info file"># File 'opal/dxopal/sprite.rb', line 70</span>
1460
+ <pre class="code"><span class="info file"># File 'opal/dxopal/sprite.rb', line 75</span>
1317
1461
 
1318
1462
  <span class='kw'>def</span> <span class='id identifier rubyid_image='>image=</span><span class='lparen'>(</span><span class='id identifier rubyid_img'>img</span><span class='rparen'>)</span>
1319
1463
  <span class='ivar'>@image</span> <span class='op'>=</span> <span class='id identifier rubyid_img'>img</span>
@@ -1345,10 +1489,10 @@
1345
1489
  <pre class="lines">
1346
1490
 
1347
1491
 
1348
- 81</pre>
1492
+ 86</pre>
1349
1493
  </td>
1350
1494
  <td>
1351
- <pre class="code"><span class="info file"># File 'opal/dxopal/sprite.rb', line 81</span>
1495
+ <pre class="code"><span class="info file"># File 'opal/dxopal/sprite.rb', line 86</span>
1352
1496
 
1353
1497
  <span class='kw'>def</span> <span class='id identifier rubyid_vanish'>vanish</span><span class='semicolon'>;</span> <span class='ivar'>@vanished</span> <span class='op'>=</span> <span class='kw'>true</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1354
1498
  </td>
@@ -1393,10 +1537,10 @@
1393
1537
  <pre class="lines">
1394
1538
 
1395
1539
 
1396
- 82</pre>
1540
+ 87</pre>
1397
1541
  </td>
1398
1542
  <td>
1399
- <pre class="code"><span class="info file"># File 'opal/dxopal/sprite.rb', line 82</span>
1543
+ <pre class="code"><span class="info file"># File 'opal/dxopal/sprite.rb', line 87</span>
1400
1544
 
1401
1545
  <span class='kw'>def</span> <span class='id identifier rubyid_vanished?'>vanished?</span><span class='semicolon'>;</span> <span class='ivar'>@vanished</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
1402
1546
  </td>
@@ -1409,9 +1553,9 @@
1409
1553
  </div>
1410
1554
 
1411
1555
  <div id="footer">
1412
- Generated on Wed May 16 19:58:24 2018 by
1556
+ Generated on Sat Sep 29 15:56:48 2018 by
1413
1557
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1414
- 0.9.12 (ruby-2.4.2).
1558
+ 0.9.16 (ruby-2.5.1).
1415
1559
  </div>
1416
1560
 
1417
1561
  </div>