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.
Group
The drawing group container
Sets the fill color and opacity of the visual element.
The fill color
opacity?anyThe fill opacity (optional)
Gets the points that define the polyline path.
The current polyline points.
Sets the points that define the polyline path.
The new polyline points.
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 polyline with updated options.
Updated configuration options
Gets the rotation of the element.
Rotation
The current element rotation.
Sets the rotation of the element.
The rotation angle in radians.
centerPointThe center of rotation.
Returns:Rotation
The applied element rotation.
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.