<dt><a name="label-43" id="label-43"><code>shape.shape_type</code></a></dt><!-- RDLabel: "shape.shape_type" -->
<dd>
returns the <a href="#label-86">type of shape</a> by Symbol.</dd>
<dt><a name="label-44" id="label-44"><code>shape.to_h</code></a></dt><!-- RDLabel: "shape.to_h" -->
<dd>
<p>returns a hash that contains all attributes and geometry information.
Each attribute have a key of String,
while geometry information has keys of Symbol.</p>
<pre>pt = ShapeLib::Point::new(1, 2, 'name' =&gt; 'Madison')
pt