Instance Method
toggleConnection(makeSmooth:)toggleConnection:toggleConnection_
Toggles the connection type between GSNode.Connection.sharpGSNodeConnectionSharpGSNodeConnectionSharp and GSNode.Connection.smoothGSNodeConnectionSmoothGSNodeConnectionSmooth.
Declaration
func toggleConnection(makeSmooth: Bool)Declaration
- (void) toggleConnection:(BOOL) makeSmooth;Declaration
toggleConnection_(makeSmooth: bool)Parameters
makeSmoothWhether to enforce aligned handles in case of a smooth connection.
See Also
Connection
The transition of a path through an on-curve node.
The connection between the incoming and outgoing path segments.
Convenience to simplify checking the connection.
Automatically sets the connection for the node depending on the angle of the incoming and outgoing path segments.
Toggles the connection type between GSNode.Connection.sharpGSNodeConnectionSharpGSNodeConnectionSharp and GSNode.Connection.smoothGSNodeConnectionSmoothGSNodeConnectionSmooth/GSNode.Connection.superSmoothGSNodeConnectionSuperSmoothGSNodeConnectionSuperSmooth.