Declaration

func transform(
    _ transform: AffineTransform,
    checkForSelection: Bool,
    doComponent componentCallback: ((GSComponent?) -> Bool)? = nil
)

Declaration

- (void) transform:(NSAffineTransform *) transform
    checkForSelection:(BOOL) checkForSelection
          doComponent:(BOOL (^)(GSComponent *component)) componentCallback;

Declaration

transform_checkForSelection_doComponent_(
    transform: NSAffineTransform,
    checkForSelection: bool,
    component: GSComponent,
    componentCallback
)

Parameters

checkForSelection

Whether to restrict the operation to selected elements when the selection is not empty.

componentCallback

A block that returns whether a component or component hint should be transformed.

See Also

General Transformations