Skip to main content
A newer version of this page is available. .

DiagramShape Constructors

Displays a shape on the diagram canvas.
Name Parameters Description
DiagramShape() none Initializes a new instance of the DiagramShape class.
DiagramShape(ShapeDescription, RectangleF, String) shape, bounds, content Initializes a new instance of the DiagramShape class with the specified settings.
DiagramShape(ShapeDescription, RectangleF) shape, bounds Initializes a new instance of the DiagramShape class with the specified settings.
DiagramShape(ShapeDescription, Single, Single, Single, Single, String) shape, x, y, width, height, content Initializes a new instance of the DiagramShape class with the specified settings.
DiagramShape(ShapeDescription, Single, Single, Single, Single) shape, x, y, width, height Initializes a new instance of the DiagramShape class with the specified settings.
DiagramShape(ShapeDescription) shape Initializes a new instance of the DiagramShape class with the specified settings.
See Also