x property

num x

Gets or sets the x value of the Spot, a fractional value between zero and one.

The Spot(0,0) of a rectangle is at the top-left corner. This value is commonly available as Spot.TopLeft. The Spot(0.5,1) would be at the middle of the bottom side. That value is commonly available as Spot.MiddleBottom.

Implementation

_i2.num get x => _i4.getProperty(
      this,
      'x',
    );
void x=(num value)

Implementation

set x(_i2.num value) {
  _i4.setProperty(
    this,
    'x',
    value,
  );
}