PointF

A point with x and y coordinate.

Typetable

This type is represented by a table with x and y properties.

painter:moveto{x=11, y=24}

When a function accepts PointF as its last parameter, you can simply unpack x and y:

painter:moveto(11, 24)

Properties

number x

X coordinate.

number y

Y coordinate.