marker.js 3 Documentation
    Preparing search index...

    Interface TextMarkerState

    Represents a state snapshot of a TextMarker.

    interface TextMarkerState {
        color: string;
        containerTransformMatrix?: ITransformMatrix;
        fontFamily: string;
        fontSize: FontSize;
        height: number;
        left: number;
        notes?: string;
        opacity?: number;
        rotationAngle: number;
        strokeColor?: string;
        strokeDasharray?: string;
        strokeWidth?: number;
        text: string;
        top: number;
        typeName: string;
        visualTransformMatrix?: ITransformMatrix;
        width: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    color: string

    Text color.

    containerTransformMatrix?: ITransformMatrix

    Container transform matrix.

    Used to correctly position and rotate marker.

    fontFamily: string

    Font family.

    fontSize: FontSize

    Font size.

    height: number

    Marker's height.

    left: number

    x coordinate of the top-left corner.

    notes?: string

    Additional information about the marker.

    opacity?: number

    Marker's opacity.

    rotationAngle: number

    Marker's rotation angle.

    strokeColor?: string

    Marker's stroke (outline) color.

    strokeDasharray?: string

    Marker's stroke (outline) dash array.

    strokeWidth?: number

    Marker's stroke (outline) width.

    text: string

    Text content.

    top: number

    y coordinate of the top-left corner.

    typeName: string

    Marker's type name.

    visualTransformMatrix?: ITransformMatrix

    Visual transform matrix.

    Used to correctly position and rotate marker.

    width: number

    Marker's width.