CropTransform
public class CropTransform : Transform
Crops the image to a specified rectangle.
-
Initializes a
CropTransformobject.Declaration
Swift
public init(x: Int, y: Int, width: Int, height: Int)Parameters
xThe starting point X coordinate.
yThe starting point Y coordinate.
widthThe output image’s width.
heightThe output image’s height.
View on GitHub
CropTransform Class Reference