Crop
public enum Crop
The crop
parameter allows you to remove pixels from an image.
See Crop Images
-
Crop by width and height
Declaration
Swift
case `default`(width: UInt, height: UInt)
-
Crop by aspect ratio
-
Crop sub region
Declaration
Swift
case region(width: UInt, height: UInt, xRegion: Double, yRegion: Double, mode: Mode = .none)
-
Crop and offset
Declaration
Swift
case offset(width: UInt, height: UInt, xOffset: Double, yOffset: Double, mode: Mode = .none)