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

brush

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

gridColumn

Gets or sets the index of the grid column this component is contained in. (Inherited from ComponentBase.)

gridRow

Gets or sets the index of the grid row this component is contained in. (Inherited from ComponentBase.)

horizontalAlignment

Gets or sets the component's horizontal alignment. (Inherited from ComponentBase.)

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.

verticalAlignment

Gets or sets the component's vertical alignment. (Inherited from ComponentBase.)

visibility

Gets or sets the visibility of this component. (Inherited from ComponentBase.)

 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