On this page←API Reference Return to API Reference index←packageSwiftyNsdk SwiftyNsdk←structImageMath ImageMath Method affineTranslation affineTranslationReturns an (u, v) -> (u', v') transformation that represents a 2D affine translation. Declaration static func affineTranslation(tx: Float, ty: Float) -> CGAffineTransform Summary Returns an (u, v) -> (u', v') transformation that represents a 2D affine translation.
Returns an (u, v) -> (u', v') transformation that represents a 2D affine translation.