Title here
Summary here
Borders are only applicable to RectanglePrimitive
, ImagePrimitive
. They allow to display a border around the rectangle. You can interact with radius, color and width.
borderWidth
borderRadius
borderColor
Type | Default value | Supported value |
---|---|---|
number | 0 | Not applicable |
Describes the stroke of the border in pixels.
Note
Border is inset, border width is calculated within width.
Example: rectangle with width
100 and borderWidth
20 will have real width equals to 100 and shape colored by fillColor
will be 60px width (width - 2 * borderWidth)
Type | Default value | Supported value |
---|---|---|
number | 0 | Not applicable |
Describes the size of the circle radius in pixels. Border radius can be used without borderWidth
.
Type | Default value | Supported value |
---|---|---|
string | null | Not applicable |
Describes the border color using format defined in theme