Search
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

Initializes a new instance of the Shape class.

 Public Properties

  Name Description

anchorPattern

Gets or sets the default anchor pattern for nodes that use this shape.

brush

Gets or sets the brush used to paint the interior of this shape.

pen

Gets or sets the pen used to stroke the frame of this shape.

strokeThickness

Gets or sets the thickness of the shape's frame.

 Public Methods

  Name Description

component

Creates a shape component.

fromId

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

getId

Gets the id of this Shape.

isElliptic

Gets a value indicating whether this shape is elliptic.

loadFromXml

Loads the shape content from an XML element.

 See Also