.. _Layer.resize: ================================================ Layer.resize ================================================ void **resize** (:ref:`number` **horizontal**, :ref:`number` **vertical**, :ref:`AnchorPosition` **anchor**) Parameters ---------- +----------------+----------------------------------------------------------------+ | **horizontal** | The amount to scale the object horizontally (as a percentage). | +----------------+----------------------------------------------------------------+ | **vertical** | The amount to scale the object vertically (as a percentage). | +----------------+----------------------------------------------------------------+ | **anchor** | The point to resize about. | +----------------+----------------------------------------------------------------+ Description ----------- Scales the object.