An instance of this class represents a shape defined through a series of arc, line and Bézier 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 | |
---|---|---|
Overloaded. Initializes a new instance of the Shape class. |
Name | Description | |
---|---|---|
Gets or sets the default anchor pattern for nodes that use this shape. |
||
A list of ShapeControlPoint objects that let users adjust a node's shape. |
||
Gets or sets a value indicating whether decoration lines should be considered when hit-testing. |
||
Gets or sets a list with all decorations of this shape. |
||
Gets or sets a formula describing the shape decorations depending on the current width and height of the node. |
||
Specifies the name that should be displayed for this shape in user interface objects, for example the ShapeListBox or ShapeToolBar. |
||
Gets or sets a value indicating whether to enable the shape's outline. |
||
Gets or sets a value indicating how areas are filled if the outline path of the shape intersects itself. |
||
Gets or sets the shape identifier. |
||
Gets or sets the image displayed in all instances of this shape. |
||
Gets or sets the path to the file that contains the image displayed in this shape. |
||
Gets or sets the position of the images displayed in instances of this shape. |
||
Specifies if this shape is used as arrowhead. |
||
Specifies what length of link's line segment is drawn inside the arrowhead shape, expressed as percents of arrowhead size. |
||
Gets or sets the outline of this shape. |
||
Gets or sets a formula describing the shape outline depending on the current width and height of the node. |
||
Gets or sets the ShapeDecoration objects associated with this shape. |
||
Gets a read-only collection of all named shapes. |
||
Gets or sets the outline of the text area of this shape. |
Name | Description | |
---|---|---|
Creates an exact copy of this shape. |
||
Overloaded. Draws this shape on an IGraphics surface. |
||
Checks whether this shape template is equivalent to the specified shape. |
||
Returns a reference to the shape with the specified string identifier. |
||
Overloaded. Creates a Shape from the outline of an SVG drawing. |
||
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. |
||
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. |
||
Loads the shape content from an XML element. |
||
Saves the shape content into an XML element. |
||
Returns the identifier of this shape template. |