transform property

MatrixTransform get transform

Implementation

MatrixTransform get transform {
  _calculate();

  return MatrixTransform(
    skew: _skew,
    position: _position,
    scale: scale,
    offset: -Vector2(anchor.x * size.x, anchor.y * size.y),
    angle: _angle,
  );
}