GSKRotationConfiguration

Objective-C

@interface GSKRotationConfiguration : NSObject

Swift

class GSKRotationConfiguration : NSObject

A GSKRotationConfiguration defines the behavior of a GSKScanProcessor when rotating the processed image.

  • A rotation configuration where no rotation is applied.

    Declaration

    Objective-C

    + (nonnull instancetype)noRotationConfiguration;

    Swift

    class func no() -> Self
  • A rotation configuration where Genius Scan automatically detects the document’s orientation.

    Declaration

    Objective-C

    + (nonnull instancetype)automaticRotationConfiguration;

    Swift

    class func automatic() -> Self
  • A rotation with a specific angle. No automatic rotation is applied.

    Declaration

    Objective-C

    + (nonnull instancetype)rotationConfigurationWithRotation:(GSKRotation)rotation;

    Swift

    convenience init(rotation: GSKRotation)