setFrom method

void setFrom(
  1. Transform2D other
)

Set this to the values of the other Transform2D.

Implementation

void setFrom(Transform2D other) {
  angle = other.angle;
  position = other.position;
  scale = other.scale;
  offset = other.offset;
}