# applyingAffineTransform Source: https://www.nianticspatial.com/docs/api/swift/NSDK.CGRect.method-applyingAffineTransform/ applyingAffineTransform --- ## Declaration func applyingAffineTransform(containerSize: CGSize, viewSize: CGSize, transform: CGAffineTransform) -> CGRect #### Summary Transforms a rectangle from the container coordinate space to view by applying a given affine transform to its corner points. #### Returns A new rectangle transformed into the view coordinate space. ### Parameters | Name | Type | Summary | | --- | --- | --- | | containerSize | CGSize | The size of the original container coordinate space. | | viewSize | CGSize | The size of the target view coordinate space. | | transform | CGAffineTransform | The affine transform to apply (expected to operate on normalized coordinates). | ---