offsetY property

num get offsetY

Gets or sets the offsetY 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 offsetY => _i4.getProperty(
      this,
      'offsetY',
    );
set offsetY (num value)

Implementation

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