Difference between revisions of "Shape:getType"

(this should return a ShapeType constant)
Line 9: Line 9:
 
None.
 
None.
 
=== Returns ===
 
=== Returns ===
{{param|string|type|The type of the Shape.}}
+
{{param|ShapeType|type|The type of the Shape.}}
 
== See Also ==
 
== See Also ==
 
* [[parent::Shape]]
 
* [[parent::Shape]]

Revision as of 14:46, 4 May 2010

Gets a string representing the Shape. This function can be useful for conditional debug drawing.

Function

Synopsis

type = Shape:getType( )

Arguments

None.

Returns

ShapeType type
The type of the Shape.

See Also