SDImageCroppingTransformer

@interface SDImageCroppingTransformer : NSObject <SDImageTransformer>

Image cropping transformer

  • Image’s inner rect.

    Declaration

    Objective-C

    @property (readonly, nonatomic) CGRect rect;

    Swift

    var rect: CGRect { get }
  • Unavailable

    Declaration

    Objective-C

    - (nonnull instancetype)init NS_UNAVAILABLE;
  • Declaration

    Objective-C

    + (nonnull instancetype)transformerWithRect:(CGRect)rect;

    Swift

    convenience init(rect: CGRect)