# Vector Feature Transformation Box Example

vector, feature, transformation, stylemap

Shows the use of the TransformFeature control.

This example shows transformation of vector features with a tranformation box. Grab one of the handles to resize the feature. Holding the SHIFT key will preserve the aspect ratio. Position the mouse right outside one of the corner handles to rotate the feature, and hold the SHIFT key to only rotate in 45° increments.

In this example, the transformation box has been set on the left feature, with a rotation preset of 45°. Clicking on the right feature will set it for transformation, starting with an unrotated box. Dragging a feature or the box edges will move it around.