marker.js 3 Documentation
    Preparing search index...

    Interface MarkerBaseState

    Represents marker's state used to save and restore state.

    The state can then be serialized and stored for future use like to continue annotation in the future, display it in a viewer or render as a static image.

    interface MarkerBaseState {
        notes?: string;
        opacity?: number;
        strokeColor?: string;
        strokeDasharray?: string;
        strokeWidth?: number;
        typeName: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    notes?: string

    Additional information about the marker.

    opacity?: number

    Marker's opacity.

    strokeColor?: string

    Marker's stroke (outline) color.

    strokeDasharray?: string

    Marker's stroke (outline) dash array.

    strokeWidth?: number

    Marker's stroke (outline) width.

    typeName: string

    Marker's type name.