PSPDFAnnotationTransformationContext

Objective-C


@interface PSPDFAnnotationTransformationContext<
    __covariant AnnotationType : PSPDFAnnotation *> : NSObject

Swift

class AnnotationTransformationContext<AnnotationType> : NSObject where AnnotationType : PSPDFAnnotation

An object used as an activation context in PSPDFAnnotationInteraction that provides information about an annotation being transformed, a page view that contains it and a transformation mode.

  • Unavailable

    Not the designated initializer

    Undocumented

    Declaration

    Objective-C

    PSPDF_EMPTY_INIT_UNAVAILABLE
  • Unavailable

    Not the designated initializer

    Undocumented

    Declaration

    Objective-C

    PSPDF_EMPTY_INIT_UNAVAILABLE
  • Annotation being transformed.

    Declaration

    Objective-C

    @property (nonatomic, readonly) AnnotationType _Nonnull annotation;

    Swift

    var annotation: AnnotationType { get }
  • Page view that contains annotation.

    Declaration

    Objective-C

    @property (nonatomic, readonly) PSPDFPageView *_Nonnull pageView;

    Swift

    var pageView: PSPDFPageView { get }
  • Mode in which annotation is being transformed.

    Declaration

    Objective-C

    @property (nonatomic, readonly) PSPDFAnnotationTransformationMode mode;

    Swift

    var mode: AnnotationTransformationMode { get }