Search
Shape Methods
 


 Public Methods

  Name Description

Clone

Creates an exact copy of this shape.

Draw

Overloaded. Draws this shape on an IGraphics surface.

Equals

Checks whether this shape template is equivalent to the specified shape.

FromId

Returns a reference to the shape with the specified string identifier.

FromSvg

Overloaded. Creates a Shape from the outline of an SVG drawing.

GetHitPath

Returns a GraphicsPath object corresponding to the outline of the specified shape when rotated at the specified angle. That GraphicsPath can be used for hit-testing and intersection checks.

GetRenderingPath

Returns a GraphicsPath object corresponding to the outline of the shape when rotated at the specified angle. That GraphicsPath can be used when drawing the shape's outline.

LoadFromXml

Loads the shape content from an XML element.

SaveToXml

Saves the shape content into an XML element.

ToString

Returns the identifier of this shape template.

 See Also