Other Enumerations

The following enumerations are available globally.

  • Represents the type of blend that should be used for several operations such as overlay.

    See more

    Declaration

    Swift

    @objc(PESDKBlendMode)
    public enum BlendMode : Int
  • Represents the mode of focus that should be used in an image.

    See more

    Declaration

    Swift

    @objc(PESDKFocusMode)
    public enum FocusMode : Int
  • The log level determins what messages should be logged. For example if the log level is set to warn, messages classified as info wont be logged.

    See more

    Declaration

    Swift

    @objc
    public enum LogLevel : Int
  • Represents the orientation of an image and has the same meaning as the corresponding EXIF value.

    See more

    Declaration

    Swift

    @objc(PESDKOrientation)
    public enum Orientation : Int
  • This is used to set the quality of the blur

    See more

    Declaration

    Swift

    @objc(PESDKBlurQuality)
    public enum BlurQuality : Int
  • The RecordingMode determines if a photo or a video should be recorded.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objc
    public enum RecordingMode : Int
  • A value that is either an absolute value or a relative value.

    See more

    Declaration

    Swift

    public enum FloatValue : Equatable
  • The type of snapping guide visualization for a SnapGuideView.

    See more

    Declaration

    Swift

    @objc(PESDKSnapGuide)
    public enum SnapGuide : Int
  • This enum is used during the builder to detmin the current phase.

    See more

    Declaration

    Swift

    @objc
    public enum FrameBuildMode : Int
  • Each patch consists of four groups. There are two basic layouts. The first one places the top and bottom group above the full width of the image, and the left and right group in between. The second layout works the other way around. This enum determins, what groups will be placed ‘inside’.

    See more

    Declaration

    Swift

    @objc
    public enum FrameLayoutMode : Int
  • This enum is used to set the the tiling mode to strech or repeat.

    See more

    Declaration

    Swift

    @objc
    public enum FrameTileMode : Int
  • The tinting mode a sticker supports.

    • none: The sticker’s color cannot be changed.
    • solid: The sticker’s color is changed completely (i.e. tintColor is used).
    • colorized: The sticker is converted to a gray scale image and the selected tint color is then applied by the amount of the gray scale value.
    See more

    Declaration

    Swift

    @objc(PESDKStickerTintMode)
    public enum StickerTintMode : Int
  • Describes all available transform actions.

    See more

    Declaration

    Swift

    @objc
    public enum TransformAction : Int
  • The CropHandle enum provides helper methods to the CropHandleView class and identifies the position of a crop handle.

    See more

    Declaration

    Swift

    public enum CropHandle
  • Represents different image file formats.

    See more

    Declaration

    Swift

    @objc(PESDKImageFileFormat)
    public enum ImageFileFormat : Int