Contents

transformEffect(_:)

Applies an affine transformation to the view’s rendered output.

Declaration

func transformEffect(_ transform: CGAffineTransform) -> some VisualEffect

Parameters

Return Value

An effect that applies an affine transformation to the view’s rendered output.

Discussion

Use transformEffect(_:) to rotate, scale, translate, or skew the output of the view according to the provided CGAffineTransform.

See Also

Applying a transform