SDImageFlippingTransformer

@interface SDImageFlippingTransformer : NSObject <SDImageTransformer>

Image flipping transformer

  • YES to flip the image horizontally. ⇋

    Declaration

    Objective-C

    @property (readonly, nonatomic) BOOL horizontal;

    Swift

    var horizontal: Bool { get }
  • YES to flip the image vertically. ⥯

    Declaration

    Objective-C

    @property (readonly, nonatomic) BOOL vertical;

    Swift

    var vertical: Bool { get }
  • Unavailable

    Declaration

    Objective-C

    - (nonnull instancetype)init NS_UNAVAILABLE;
  • Declaration

    Objective-C

    + (nonnull instancetype)transformerWithHorizontal:(BOOL)horizontal vertical:(BOOL)vertical;

    Swift

    convenience init(horizontal: Bool, vertical: Bool)