x property

  1. @override
num get x
override

The resolved X coordinate of this 2D element.

Implementation

@override
num get x => position.x;
  1. @override
set x (num x)
override

Implementation

@override
set x(num x) => position = position.setX(x);