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 cornerRadius | Type float | Default 0. | Description The radius for rounding the corners of the shape. |
Member sides | Type int | Default 5 | Description The number of sides the polygon is supposed to have. |
shape/rect
#
shape/rect
#Member | Type | Default | Description |
---|---|---|---|
Member cornerRadiusBL | Type float | Default 0. | Description The bottom-left radius for rounding the corners of the shape. |
Member cornerRadiusBR | Type float | Default 0. | Description The bottom-right radius for rounding the corners of the shape. |
Member cornerRadiusTL | Type float | Default 0. | Description The top-left radius for rounding the corners of the shape. |
Member cornerRadiusTR | Type float | Default 0. | Description The top-right radius for rounding the corners of the shape. |
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. |