offsetX property
num
get
offsetX
Gets or sets the offsetX value of the Spot. The value may be negative. If this represents a side value instead of a specific spot, this value is meaningless.
A Spot(0,0,5,5) of a large rectangle is near the top-left corner, inside the rectangle. A Spot(1,1,5,5) would be near the bottom-right corner, outside the rectangle. A Spot(1,1,-5,-5) would also be near the bottom-right corner, but inside the rectangle.
Implementation
_i2.num get offsetX => _i4.getProperty(
this,
'offsetX',
);
set
offsetX
(num value)
Implementation
set offsetX(_i2.num value) {
_i4.setProperty(
this,
'offsetX',
value,
);
}