import { SceneNode } from './node'; import { ColorValue, Pixels } from '../options'; export type MarkerShape = 'circle' | 'square' | 'diamond' | 'triangle' | 'cross' | 'plus'; /** Default side of the square SVG `path` coordinates are expected in. */ export declare const MARKER_PATH_VIEWBOX = 24; /** Data point marker. `size` is the diameter of the bounding area in pixels. */ export declare class Marker extends SceneNode { x: number; y: number; size: Pixels; shape: MarkerShape; /** Custom shape as SVG path data; wins over `shape`. */ path?: string; /** Side of the square `path` coordinates live in; scaled to `size`. */ viewBox: number; fill?: ColorValue; stroke?: ColorValue; strokeWidth: Pixels; /** 'square' only: corner rounding. */ cornerRadius: Pixels; protected draw(ctx: CanvasRenderingContext2D): void; /** Draws the custom path scaled from its viewBox into the marker box, centred on (x, y). */ private drawPath; containsPoint(px: number, py: number): boolean; }