Namespace: Annotations

PSPDFKit.Annotations

Annotation API (with all available annotation types). All classes are based on Immutable.Record.

Classes

Methods




Methods

(static) fromSerializableObject() → {PSPDFKit.Annotations.Annotation}

Annotation deserializer. Converts an annotation object to a PSPDFKit.Annotations.Annotation.

Parameters:
Type Description
Object
Returns:
Type
PSPDFKit.Annotations.Annotation

(static) toSerializableObject() → {Object}

Annotation serializer. Converts one of the supported PSPDFKit.Annotations to InstantJSON compliant objects.

Parameters:
Type Description
PSPDFKit.Annotations.Annotation
Returns:
Type
Object