Point: {
    x: number;
    y: number;
}

A specific position on the canvas defined in points. Origin is the top left corner.

Type declaration

  • x: number

    The horizontal coordinate of the position in points. Origin is the top left corner.

  • y: number

    The vertical coordinate of the position in points. Origin is the top left corner.

Generated using TypeDoc