Polyline
Represents a polyline (multi-segment line) with marker capabilities. Extends VisualBase and incorporates MarkerPathMixin functionality.
Definition
Package:@progress/kendo-angular-diagrams
Methods
Gets the drawing container that holds the polyline and its markers.
The drawing group container
Sets the fill color and opacity of the visual element.
The fill color
opacity?anyThe fill opacity (optional)
Gets or sets the points that define the polyline path.
Array of points to set for the polyline, or undefined to get current points
Returns:any
The current points array when called as getter
Gets or sets the position of the element.
The x coordinate or Point object, or undefined to get current position
y?anyThe y coordinate when x is a number
Returns:The current position as a Point when called as getter
Redraws the polyline with updated options.
Updated configuration options
Gets or sets the rotation of the element.
The rotation angle in radians, or undefined to get current rotation
centeranyThe center point for rotation
Returns:Rotation
The current rotation when called as getter
Sets the stroke color, width, and opacity of the visual element.
The stroke color
widthanyThe stroke width
opacityanyThe stroke opacity
Gets or sets the visibility of the element.
The visibility value to set, or undefined to get current visibility
Returns:any
The current visibility state when called as getter