void setIdentity()

Sets the transform to the identity matrix.

Source

void setIdentity() {
  _transform.setIdentity();
  markNeedsPaint();
}