Declaration

func transform(
    _ transform: AffineTransform,
    selection: NSOrderedSet?
)

Declaration

- (void) transform:(NSAffineTransform *) transform
         selection:(NSOrderedSet *) selection;

Declaration

transform_selection_(
    transform: NSAffineTransform,
    selection: NSOrderedSet
)

Parameters

selection

The elements to transform, or nil for the complete shape.

Discussion

A path selection contains nodes, while a transformable shape selection contains the shape itself. Pass nil to transform the complete shape.

See Also

Geometry