origin property

Offset origin

The origin of the coordinate system (relative to the upper left corner of this render object) in which to apply the matrix.

Setting an origin is equivalent to conjugating the transform matrix by a translation. This property is provided just for convenience.

Implementation

Offset get origin => _origin;
void origin= (Offset value)

Implementation

set origin(Offset value) {
  if (_origin == value)
    return;
  _origin = value;
  markNeedsPaint();
  markNeedsSemanticsUpdate();
}