Segment
Class
Defines a path segment with an anchor point and optional curve control points. Segments are created implicitly by the Path lineTo and curveTo commands.
Definition
Package:@progress/kendo-drawing
Methods
Adds an observer to be notified for changes.
Gets the first curve control point of this segment.
Returns:
- The current control point.
Sets the second curve control point of this segment.
Parameters:valuePoint | number[]
The new control point.
Gets the second curve control point of this segment.
Returns:
- The new control point.
Sets the second curve control point of this segment.
Parameters:valuePoint | number[]
The new control point.
Returns the list of observers.
Returns:
- The current observers.
Stops notifying the specified observer for changes.
Resumes the notification to all observers for changes.
Returns:
- The current Arc instance.