Skip to content

Point

Point on the canvas.

Remarks

The origin (0, 0) is the top-left corner of the canvas.

Properties

x

readonly x: number

The x coordinate of the point.

Source

packages/react-sketch-canvas/src/types/canvas.ts:30


y

readonly y: number

The y coordinate of the point.

Source

packages/react-sketch-canvas/src/types/canvas.ts:34