Declaration

func setPosition(
    _ position: NSPoint,
    forLayerWidth width: CGFloat
)

Declaration

- (void) setPosition:(NSPoint) position
       forLayerWidth:(CGFloat) width;

Declaration

setPosition_forLayerWidth_(
    position: NSPoint,
    width: float
)

Parameters

width

The layer width used for orientation adjustment.

Discussion

For a node in a path, setting the position registers undo, aligns it to the layer grid, and notifies the path.

See Also

Position