DiagramLite Programmer's Guide
Shape Members
Constructors Properties Methods
 


An instance of this class represents a shape defined through a series of arc, line and Bezier segments. The segments can be a part of the shape outline, in which case they define the part of the shape is filled, used for hit-testing and for aligning links to the node edges. Segments can also be added as decoration elements, in which case they only affect the appearance of a ShapeNode.

The following tables list the members exposed by the Shape type.

 Public Constructors

  Name Description

Shape

Overloaded.  

 Public Properties

  Name Description

FillRule

Gets or sets a value indicating how areas are filled if the outline pathOutline of the shape intersects itself.

Id

Gets or sets the shape identifier.

IsArrowhead

Specifies if this shape is used as arrowhead.

LinkSegmentInset

Specifies what length of link's line segment is drawn inside the arrowhead shape, expressed as percents of arrowhead size.

Outline

Gets the outline of this shape.

Shapes

Gets a read-only collection of all named shapes.

TextRectangle

Specifies the label position for this shape.

 Public Methods

  Name Description

CreateOutlineGeometry

Creates a PathGeometry corresponding to the shape outline.

FromId

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

LoadFromXml

Loads the shape content from an XML element.

SaveToXml

Saves the shape content into an XML element.

 See Also

Shape Class
MindFusion.Diagramming Namespace