New to Kendo UI for Angular? Start a free 30-day trial
Defines a path segment with an anchor point and optional curve control points. Segments are created implicitly by the Path lineTo and curveTo commands.
(anchor: Point | number[], controlIn?: Point | number[], controlOut?: Point | number[])
Creates a path segment with an anchor point and optional curve control points.
Point | number[]
The anchor point of this segment. If no control points are defined the path will pass through this point.
Point | number[]
The first curve control point of this segment, if any.
Point | number[]
The second curve control point of this segment, if any.
|
---|
Adds an observer to be notified for changes.
|
|
Returns | |
---|
Segment
|
- The current Arc instance.
|
|
|
---|
Gets the segment anchor point.
|
Returns | |
---|
Point
|
- The current anchor point.
|
|
|
---|
Sets the segment anchor point.
|
Parameters | | |
---|
value
|
Point | number[]
|
The new anchor point.
|
|
|
---|
Gets the first curve control point of this segment.
|
Returns | |
---|
Point
|
- The current control point.
|
|
|
---|
Sets the second curve control point of this segment.
|
Parameters | | |
---|
value
|
Point | number[]
|
The new control point.
|
|
|
---|
Gets the second curve control point of this segment.
|
|
|
---|
Sets the second curve control point of this segment.
|
Parameters | | |
---|
value
|
Point | number[]
|
The new control point.
|
|
|
---|
Returns the list of observers.
|
|
|
---|
Stops notifying the specified observer for changes.
|
|
Returns | |
---|
Segment
|
- The current Arc instance.
|
|
|
---|
Resumes the notification to all observers for changes.
|
Returns | |
---|
Segment
|
- The current Arc instance.
|
|
|
---|
Suspends the change notifications to all observers.
|
Returns | |
---|
Segment
|
- The current Arc instance.
|
|