CESDK/CE.SDK/Engine/API Reference/Block
Shape Types
Get to know all available shape types and their properties
The following tables document the currently available shapes and their properties.
Shapes#
shape/ellipse
#
shape/ellipse
#No block-specific properties.
shape/line
#
shape/line
#No block-specific properties.
shape/polygon
#
shape/polygon
#Member | Type | Default | Description |
---|---|---|---|
Member sides | Type int | Default 5 | Description The number of sides the polygon is supposed to have. |
shape/rect
#
shape/rect
#No block-specific properties.
shape/star
#
shape/star
#Member | Type | Default | Description |
---|---|---|---|
Member innerDiameter | Type float | Default 0.5 | Description The inner diameter of the star. |
Member points | Type int | Default 5 | Description The number of tips the star is supposed to have. |
shape/vector_path
#
shape/vector_path
#Member | Type | Default | Description |
---|---|---|---|
Member height | Type float | Default 100.0 | Description The coordinate bounds in y direction. |
Member path | Type string | Default "" | Description The path string, accepts a subset of svg path strings. |
Member width | Type float | Default 100.0 | Description The coordinate bounds in x direction. |