pivotY property

double pivotY

Returns the y coordinate of the pivot point, the center of scaling and rotation.

Implementation

double get pivotY {
  return _pivotY;
}
void pivotY=(double value)

Sets the y-coordinate of the object's pivot point. Throws an error if value is NaN. If the value has not changed, does nothing.

Implementation

set pivotY(double value) {
  if (value.isNaN) throw '[$this.pivotY] can not be NaN nor null';
  if (_pivotY == value) {
    return;
  }
  _pivotY = value;
  $setTransformationChanged();
}