Instance Method
setMirrored(_:withCenter:oppositePoint:) setMirrored:withCenterPoint:oppositePoint: setMirrored_withCenterPoint_oppositePoint_
Moves an off-curve node to the reflection of a point about a center point.
Declaration
func setMirrored(
_ node: GSNode,
withCenter centerPoint: NSPoint,
oppositePoint: NSPoint
)Declaration
- (void) setMirrored:(GSNode *) node
withCenterPoint:(NSPoint) centerPoint
oppositePoint:(NSPoint) oppositePoint;Declaration
setMirrored_withCenterPoint_oppositePoint_(
node: GSNode,
centerPoint: NSPoint,
oppositePoint: NSPoint
)See Also
Editing Nodes
Aligns a node opposite a point about a center point while preserving its distance from the center point.
Aligns a node opposite another node about a center node while preserving its distance from the center node.
Normalizes node types and connections based on adjacent nodes.
Sets a node connection based on the alignment of adjacent nodes.
Moves an off-curve node by an offset while preserving its locked direction.
Moves an off-curve node by an offset, constrained using a corresponding node in another path.