DiagramLite Programmer's Guide
ShapeDecoration Members
Constructors Properties Methods
 


That class contained an array of shape template elements that define shape decorations. Can contain lines, arcs and Bézier curves. The shape is closed and filled.

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

 Public Constructors

  Name Description

ShapeDecoration

Initializes a new instance of the ShapeDecoration class with the specified outline, brush, pen and rule.

 Public Properties

  Name Description

Brush

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

FillRule

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

Pen

Gets or sets the pen used to paint the frame of the shape.

 Public Methods

  Name Description

LoadFromXml

Loads the ShapeDecoration definition from an XML document.

SaveToXml

Saves the ShapeDecoration definition in an XML document.

 See Also

ShapeDecoration Class
MindFusion.Diagramming Namespace