Namespace: AnnotationPresets

PSPDFKit.AnnotationPresets

Annotation Presets API.

Methods




Methods

(static) fromSerializableObject() → {PSPDFKit.AnnotationPreset}

Annotation preset deserializer. Converts an annotation preset object to a PSPDFKit.AnnotationPreset.

Parameters:
Type Description
object

Serialized annotation preset to rebuild.

Returns:
Type
PSPDFKit.AnnotationPreset

(static) toSerializableObject(preset) → {object}

Annotation preset serializer. Converts a PSPDFKit.AnnotationPreset to an object.

Parameters:
Name Type Description
preset PSPDFKit.AnnotationPreset

Annotation preset to serialize.

Returns:
Type
object