Skip to content

ScreenLine beta ​

Interface of @v12-engine/client/common

ts
export interface ScreenLine

Line in the view, in CSS pixels

Members ​

color ​

ts
color: string;

CSS color the line is drawn in

destination ​

ts
destination: boolean;

Marks the last point as a destination

points ​

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

The corners of the line in order, each in CSS pixels relative to the canvas