Selection.resize

void resize (Number horizontal, Number vertical, AnchorPosition anchor)

Parameters

horizontal The amount to scale the selection horizontally (as a percentage).
vertical The amount to scale the selection vertically (as a percentage).
anchor The point to scale around.

Description

Resizes the selected area to the specified dimensions and anchor position.