Instance Method
toggleConnection(makeSmooth:superSmooth:) toggleConnection:superSmooth: toggleConnection_superSmooth_
Toggles the connection type between GSNode.Connection.sharpGSNodeConnectionSharpGSNodeConnectionSharp and GSNode.Connection.smoothGSNodeConnectionSmoothGSNodeConnectionSmooth/GSNode.Connection.superSmoothGSNodeConnectionSuperSmoothGSNodeConnectionSuperSmooth.
Declaration
func toggleConnection(makeSmooth: Bool, superSmooth: Bool)Declaration
- (void) toggleConnection:(BOOL) makeSmooth superSmooth:(BOOL) superSmooth;Declaration
toggleConnection_superSmooth_(makeSmooth: bool, superSmooth: bool)Parameters
makeSmoothWhether to enforce aligned handles in case of a smooth connection.
superSmoothWhether to consider a super-smooth connection instead of a regular 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.