New to Kendo UI for Angular? Start a free 30-day trial
Represents a polyline (multi-segment line) with marker capabilities.
Extends VisualBase and incorporates MarkerPathMixin functionality.
Name | Type | Default | Description |
---|
|
{ end: string; start: string; }
|
|
|
undefined
|
|
|
undefined
|
|
|
undefined
|
|
|
undefined
|
|
|
undefined
|
|
|
undefined
|
|
|
undefined
|
|
|
undefined
|
|
|
Group
|
|
|
any
|
|
|
string
|
|
|
any
|
|
(options: any)
Creates a new Polyline instance.
any
Configuration options for the polyline including points and styling
|
---|
Gets the drawing container that holds the polyline and its markers.
|
Returns | |
---|
Group
|
The drawing group container
|
|
|
---|
Sets the fill color and opacity of the visual element.
|
Parameters | | |
---|
color
|
any
|
The fill color
|
opacity?
|
any
|
The fill opacity (optional)
|
|
|
---|
Gets or sets the points that define the polyline path.
|
Parameters | | |
---|
points
|
any
|
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.
|
Parameters | | |
---|
x
|
any
|
The x coordinate or Point object, or undefined to get current position
|
y?
|
any
|
The y coordinate when x is a number
|
|
Returns | |
---|
Point
|
The current position as a Point when called as getter
|
|
|
---|
Redraws the polyline with updated options.
|
Parameters | | |
---|
options
|
any
|
Updated configuration options
|
|
|
---|
Gets or sets the rotation of the element.
|
Parameters | | |
---|
angle
|
any
|
The rotation angle in radians, or undefined to get current rotation
|
center
|
any
|
The center point for rotation
|
|
Returns | |
---|
Rotation
|
The current rotation when called as getter
|
|
|
---|
Sets the stroke color, width, and opacity of the visual element.
|
Parameters | | |
---|
color
|
any
|
The stroke color
|
width
|
any
|
The stroke width
|
opacity
|
any
|
The stroke opacity
|
|
|
---|
Gets or sets the visibility of the element.
|
Parameters | | |
---|
value
|
any
|
The visibility value to set, or undefined to get current visibility
|
|
Returns | |
---|
any
|
The current visibility state when called as getter
|
|