pivotX property

double pivotX
inherited

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

Implementation

double get pivotX {
  return _pivotX;
}
  1. @override
void pivotX=(double value)
override

Throws an error as the pivotX property of the stage cannot be set.

Implementation

@override
set pivotX(double value) {
  throw 'Cannot pivot stage';
}