Skip to content

Type Alias: D3PCursorGeometry ​

ts
type D3PCursorGeometry = 
  | {
  kind: "line";
  x1: number;
  x2: number;
  y1: number;
  y2: number;
}
  | {
  cx: number;
  cy: number;
  kind: "circle";
  r: number;
}
  | {
  d: string;
  kind: "path";
};

Defined in: core/coords.ts:42

The shape of the cursor of a coordinate system: a line, a circle or a path.