pivotX property

  1. @override
num pivotX
override

The x-coordinate of the pivot point of this display object.

The pivot point is the point this display Object rotates around. It is also the anchor point for the x/y-coordinates and the center for all transformations like scaling.

The default pivot point is (0,0).

Implementation

@override
num get pivotX => _pivotX;
  1. @override
void pivotX=(num value)
override

Implementation

@override
set pivotX(num value) {
  _pivotX = value;
  _transformationMatrixRefresh = true;
}