Search
ShapeDesigner Members
Constructors Properties Methods Events
 


Represents an interactive vector-drawing control that can be used to design node shapes.

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

 Public Constructors

  Name Description

ShapeDesigner

Initializes a new instance of the ShapeDesigner class.

 Public Properties

  Name Description

alignToGrid

Gets or sets a value indicating whether the diagram items should be aligned to a grid.

anchorPointsLabel

Gets or sets a string specifying the label of graphic AnchorPoints category in shape designer toolbox.

gridSizeX

Gets or sets the horizontal distance between adjacent grid points.

gridSizeY

Gets or sets the vertical distance between adjacent grid points.

primitivesLabel

Gets or sets a string specifying the label of graphic primitives category in shape designer toolbox.

selectedElement

Gets or sets the selected element in the shape designer.

showGrid

Gets or sets a value indicating whether the alignment grid is visible.

showShapeProperties

Gets or sets a value indicating whether to display the property panel.

templatesLabel

Gets or sets a string specifying the label of outline templates category in shape designer toolbox.

theme

Gets or sets the theme of the control.

themesPath

Gets or sets the path to the control's css themes.

 Public Methods

  Name Description

copyToClipboard

Copies the currently selected element to the clipboard.

create

Creates and initializes a new ShapeDesigner from the specified element. This method is static and can be called without creating an instance of the class.

exportShape

Creates a new Shape from the current content of the design canvas.

importShape

Imports a Shape into the designer's drawing canvas.

pasteFromClipboard

Pastes a previously copied element from the clipboard.

redo

Executes again the most recently undone user action.

undo

Undoes the most recent user action.

 Public Events

  Name Description

shapeChanged

Raised when the shape has changed.

 See Also