Scale

The attribute transform="scale(sx sy)" allows objects to be scaled. The arguments sx and sy can be used to scale height and width individually. If only one argument is specified, the specified scale factor affects both dimensions of the element.

<rect x="0" y="0" width="200" height="150" fill="#01b8aa" />
<rect x="0" y="0" width="200" height="150" fill="white"
      opacity="0.5"
      transform="scale(0.4 0.8)" />
../../../_images/scale.png