Path
Represents an SVG path element with auto-sizing and marker capabilities. Combines VisualBase with AutoSizeableMixin and MarkerPathMixin functionality.
Definition
Package:@progress/kendo-react-diagram
Properties
container
Group
The drawing group container that holds the path and its markers.
The underlying drawing element that handles the actual rendering.
id
string
The unique identifier of the element.
options
any
Configuration options for the element.
Methods
Gets the SVG path data.
string
The current SVG path data string.
Sets the SVG path data.
The new SVG path data string.
Gets the drawing container that holds the path and its markers.
Group
The drawing group container
Sets the fill color and opacity of the visual element.
The fill color
opacity?anyThe fill opacity (optional)
Sets the position of the element from a point.
The new element position.
Sets the position of the element from coordinates.
The horizontal coordinate.
ynumberThe vertical coordinate.
Redraws the path with updated options.
Updated configuration options
Sets the stroke color, width, and opacity of the visual element.
The stroke color
widthanyThe stroke width
opacityanyThe stroke opacity
Gets the visibility of the element.
boolean
true when the element is visible; otherwise, false.
Sets the visibility of the element.
Whether the element should be visible.