PTImageStampAnnotationOptions


@interface PTImageStampAnnotationOptions : PTAnnotationOptions

An object that contains options for image stamp annotations.

  • Whether the annotation can be rotated. The default value is YES.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite,
              getter=isRotationEnabled) BOOL rotationEnabled;

    Swift

    var isRotationEnabled: Bool { get set }
  • Whether the annotation can be cropped. The default value is YES.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite, getter=isCropEnabled)
        BOOL cropEnabled;

    Swift

    var isCropEnabled: Bool { get set }
  • An array of maximum allowed image stamp dimensions (in pixels) which can be selected by the user. Any images with dimensions larger than the selected size will be resized.

    Declaration

    Objective-C

    @property (nonatomic, copy, readwrite)
        NSArray<NSNumber *> *_Nonnull maxImageDimensions;

    Swift

    var maxImageDimensions: [NSNumber] { get set }