Instance Method
addCurve(withOff1:off2:end:connection:attributes:) addCurveWithOff1:off2:end:connection:attributes: addCurveWithOff1_off2_end_connection_attributes_
Appends a cubic curve segment and aligns its node positions to the layer grid.
Declaration
func addCurve(withOff1 off1: NSPoint, off2: NSPoint, end: NSPoint, connection: GSNode.Connection, attributes: [GSShapeKey : Any]? = nil)Declaration
- (void) addCurveWithOff1:(NSPoint) off1 off2:(NSPoint) off2 end:(NSPoint) end connection:(GSNodeConnection) connection attributes:(NSDictionary<NSString *,id> *) attributes;Declaration
addCurveWithOff1_off2_end_connection_attributes_(off1: NSPoint, off2: NSPoint, end: NSPoint, connection: GSNodeConnection, attributes: dict[str, object])Parameters
attributesAttributes for the ending on-curve node.
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 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.
Inserts an off-curve node into a quadratic segment.
Adds nodes at extrema of cubic curve segments.
Adds nodes at inflection points of cubic curve segments.