Stroke
Interface
The stroke options for shapes and connectors.
Definition
Package:@progress/kendo-react-diagram
Properties
color?
string
Defines the color of the stroke. Accepts valid CSS colors.
lineCap?
"butt" | "round" | "square"
Defines the line cap style of the stroke.
lineJoin?
"round" | "bevel" | "miter"
Defines the line join style of the stroke.
opacity?
number
Defines the opacity of the stroke. Ranges from 0 (completely transparent) to 1 (opaque).
Default:
1
width?
number
Defines the thickness or width of the stroke.
Default:
1