@inweb/viewer-visualize
    Preparing search index...

    Interface IMarkupLineParams

    Defines the parameters for creating a markup line.

    interface IMarkupLineParams {
        color?: string;
        id?: string;
        points?: { x: number; y: number }[];
        type?: MarkupLineType;
        width?: number;
    }
    Index

    Properties

    color?: string

    Line color as a string in hexadecimal color syntax #RGB color using its primary color components (red, green, blue) written as hexadecimal numbers.

    "#ff0000"
    
    id?: string

    Internal markup object identifier.

    points?: { x: number; y: number }[]

    Array of screen points of the line.

    Line type. Can be solid, dot or dash.

    "solid"
    
    width?: number

    Line width.

    4