Namespace: AnnotationPresets

NutrientViewer.AnnotationPresets

Annotation Presets API.

Methods




Methods

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

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

Parameters:
Type Description
object

Serialized annotation preset to rebuild.

Returns:
Type
NutrientViewer.AnnotationPreset

(static) toSerializableObject(preset) → {object}

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

Parameters:
Name Type Description
preset NutrientViewer.AnnotationPreset

Annotation preset to serialize.

Returns:
Type
object