<?xml version="1.0" encoding="utf-8"?>

Scaling

Scaling

Scaling — also called dilation — allows us to resize objects relative to a reference point. To do the same, we draw a straight line from the point and move each point of the object along this line.

The distance the points move depends on the scale factor:

  • If it's larger than 1, the object will be larger than the original
  • If it's less than 1, the object will be smaller
  • If it's negative, the object will be on the opposite side of the reference point compared with the original
Improve your UX & Product skills with interactive courses that actually work