GSKCurvatureCorrectionConfiguration

@interface GSKCurvatureCorrectionConfiguration : NSObject

A GSKCurvatureCorrectionConfiguration defines the behavior of a GSKDocumentProcessor when applying curvature correction.

  • The default configuration. This currently doesn’t apply the curvature correction configuration, but this can change in future versions of the SDK.

    Declaration

    Objective-C

    + (nonnull instancetype)defaultCurvatureCorrectionConfiguration;

    Swift

    class func `default`() -> Self
  • No curvature correction

    Declaration

    Objective-C

    + (nonnull instancetype)noCurvatureCorrectionConfiguration;

    Swift

    class func no() -> Self
  • Specifies whether or not you want curvature correction

    Declaration

    Objective-C

    + (nonnull instancetype)curvatureCorrectionConfigurationWithCurvatureCorrection:
        (BOOL)curvatureCorrection;

    Swift

    convenience init(curvatureCorrection: Bool)