x property

int get x

Horizontal coordinate of the top-left corner of this rectangle

Implementation

int get x => position.x;