Defines the markup line object of the viewpoint.

interface ILine {
    color?: string;
    id?: string;
    points: IPoint[];
    type?: string;
    width?: number;
}

Properties

color?: string

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

id?: string

Internal markup object identifier.

points: IPoint[]

Array of line points.

type?: string

Line type. Can be solid, dot or dash.

"solid"
width?: number

Line width.