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.
Name | Description | |
---|---|---|
Initializes a new instance of the Shape class. |
Name | Description | |
---|---|---|
Gets or sets the default anchor pattern for nodes that use this shape. |
||
Gets or sets the brush used to paint the interior of this shape. |
||
Gets or sets the pen used to stroke the frame of this shape. |
||
Gets or sets the thickness of the shape's frame. |
Name | Description | |
---|---|---|
Creates a shape component. |
||
Returns a reference to the Shape with the specified string identifier. |
||
Gets the id of this Shape. |
||
Gets a value indicating whether this shape is elliptic. |
||
Loads the shape content from an XML element. |