Shape(ShapeType, Single, Single, Single, Single) Constructor
Initializes a new instance of the Shape class with specified settings.
Namespace: DevExpress.Docs.Presentation
Assembly: DevExpress.Docs.Presentation.v25.2.dll
NuGet Package: DevExpress.Docs.Presentation
Declaration
public Shape(
ShapeType type,
float x = 0F,
float y = 0F,
float width = 0F,
float height = 0F
)
Parameters
| Name | Type | Description |
|---|---|---|
| type | ShapeType | Shape type. |
Optional Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| x | Single | 0 | The x-coordinate of the shape’s upper-left corner. |
| y | Single | 0 | The y-coordinate of the shape’s upper-left corner. |
| width | Single | 0 | Shape width. |
| height | Single | 0 | Shape height. |
See Also