The Canvas tab's crosshair controls. Same precedence as the rest of the canvas block (see grid.ts): set overrides the theme, unset falls through.

interface CrosshairOptions {
    color?: string;
    style?: CanvasLineStyle;
    width?: number;
}

Properties

Properties

color?: string

Line colour. Unset falls back to theme.crosshair.

Line dash. Unset falls back to theme.crosshairStyle, then dashed.

width?: number

Line width in device px (1 = hairline). Unset falls back to the theme.