x property

double x
getter/setter pair

The current X-coordinate of the mouse cursor, relative to the canvas.

Implementation

double x = -double.maxFinite;