New to Kendo UI for Vue? 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: number[] | Point, controlIn?: number[] | Point, controlOut?: number[] | Point)
Creates a path segment with an anchor point and optional curve control points.
number[] | Point
The anchor point of this segment. If no control points are defined the path will pass through this point.
number[] | Point
The first curve control point of this segment, if any.
number[] | Point
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
|
number[] | Point
|
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
|
number[] | Point
|
The new control point.
|
|
|
|
|---|
|
Gets the second curve control point of this segment.
|
|
|
|
|
|---|
|
Sets the second curve control point of this segment.
|
| Parameters | | |
|---|
|
value
|
number[] | Point
|
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.
|
|