Instance Method
insertOffcurve(withStartIdx:endIdx:) insertOffcurveWithStartIdx:endIdx: insertOffcurveWithStartIdx_endIdx_
Inserts an off-curve node into a quadratic segment.
Declaration
func insertOffcurve(
withStartIdx startIdx: Int,
endIdx: Int
) -> GSNode?Declaration
- (GSNode *) insertOffcurveWithStartIdx:(NSInteger) startIdx
endIdx:(NSInteger) endIdx;Declaration
insertOffcurveWithStartIdx_endIdx_(
startIdx: int,
endIdx: int
) -> GSNodeDiscussion
Returns nil when the index range does not describe off-curve nodes in a quadratic segment.
See Also
Inserting Nodes
Appends a node and aligns its position to the layer grid.
Appends a node without registering undo, aligning its position, or notifying the layer.
Appends nodes.
Appends a new node and aligns its position to the layer grid.
Appends a new node without registering undo, aligning its position, or notifying the layer.
Appends a cubic curve segment and aligns its node positions to the layer grid.
Appends a cubic curve segment without registering undo, aligning its node positions, or notifying the layer.
Inserts a node at an index and aligns its position to the layer grid.
Inserts an on-curve node at a path time while preserving the path shape.
Adds nodes at extrema of cubic curve segments.
Adds nodes at inflection points of cubic curve segments.