Added beter controls and an example. Improved documentation.
This commit is contained in:
@ -38,10 +38,22 @@
|
||||
<dt id="displayarray.effects.crop.Crop">
|
||||
<em class="property">class </em><code class="sig-name descname">Crop</code><span class="sig-paren">(</span><em class="sig-param">output_size=(64</em>, <em class="sig-param">64</em>, <em class="sig-param">3)</em>, <em class="sig-param">center=None</em><span class="sig-paren">)</span><a class="reference internal" href="../_modules/displayarray/effects/crop/#Crop"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#displayarray.effects.crop.Crop" title="Permalink to this definition">¶</a></dt>
|
||||
<dd><p>A callback class that will return the input array cropped to the output size. N-dimensional.</p>
|
||||
<dl class="method">
|
||||
<dt id="displayarray.effects.crop.Crop.center">
|
||||
<em class="property">property </em><code class="sig-name descname">center</code><a class="headerlink" href="#displayarray.effects.crop.Crop.center" title="Permalink to this definition">¶</a></dt>
|
||||
<dd><p>Get the center.</p>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="method">
|
||||
<dt id="displayarray.effects.crop.Crop.enable_mouse_control">
|
||||
<code class="sig-name descname">enable_mouse_control</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="../_modules/displayarray/effects/crop/#Crop.enable_mouse_control"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#displayarray.effects.crop.Crop.enable_mouse_control" title="Permalink to this definition">¶</a></dt>
|
||||
<dd><p>Move the mouse to move where the crop is from on the original image</p>
|
||||
<dd><p>Move the mouse to move where the crop is from on the original image.</p>
|
||||
</dd></dl>
|
||||
|
||||
<dl class="method">
|
||||
<dt id="displayarray.effects.crop.Crop.output_size">
|
||||
<em class="property">property </em><code class="sig-name descname">output_size</code><a class="headerlink" href="#displayarray.effects.crop.Crop.output_size" title="Permalink to this definition">¶</a></dt>
|
||||
<dd><p>Get the output size.</p>
|
||||
</dd></dl>
|
||||
|
||||
</dd></dl>
|
||||
|
Reference in New Issue
Block a user