UNPKG

237 BPlain TextView Raw
1/**
2 * A 2-dimensional point representing integer pixel coordinates from a top-left origin.
3 */
4export interface Point {
5 /**
6 * The x-coordinate.
7 */
8 readonly x: number;
9 /**
10 * The y-coordinate.
11 */
12 readonly y: number;
13}