Skip to content
EliteChart

ScreenPoint

Documentation


Documentation / @elitechart/drawings / ScreenPoint

Defined in: core/dist/index.d.ts:680

A point in canvas space (CSS pixels, relative to the chart container). Used by hit-testing and pointer events.

Example

code
const sp: ScreenPoint = { x: 120, y: 240 };

Properties

x

code
readonly x: number;

Defined in: core/dist/index.d.ts:681


y

code
readonly y: number;

Defined in: core/dist/index.d.ts:682