[API](/solutions/geotoolkit/geotoolkit_js/apis/readme) / [geotoolkit](/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit) / [flowcharts](/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit.flowcharts) / [commands](/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit.flowcharts#commands) / [TransformVisuals](/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit.flowcharts#transformvisuals) / TransformVisuals

# Class: TransformVisuals

[commands](/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit.flowcharts#commands).[TransformVisuals](/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit.flowcharts#transformvisuals).TransformVisuals

Transforms visuals

## Hierarchy

- **`TransformVisuals`**
↳ [`RotateVisuals`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.flowcharts.commands.rotatevisuals.rotatevisuals)
↳ [`ScaleVisuals`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.flowcharts.commands.scalevisuals.scalevisuals)
↳ [`TranslateVisuals`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.flowcharts.commands.translatevisuals.translatevisuals)


## Implements

- [`ICommand`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.flowcharts.commands.icommand.icommand)


## Table of contents

Constructors
- [new TransformVisuals(options)](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.flowcharts.commands.transformvisuals.transformvisuals.md#new transformvisuals(options))


Methods
| [execute](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.flowcharts.commands.transformvisuals.transformvisuals#execute) | [getClassName](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.flowcharts.commands.transformvisuals.transformvisuals#getclassname) | [getVisuals](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.flowcharts.commands.transformvisuals.transformvisuals#getvisuals) |
|  --- | --- | --- |
| [setVisuals](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.flowcharts.commands.transformvisuals.transformvisuals#setvisuals) | [undo](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.flowcharts.commands.transformvisuals.transformvisuals#undo) | [getClassName](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.flowcharts.commands.transformvisuals.transformvisuals#getclassname-1) |


## Contents

Constructors
#### new TransformVisuals(options)

• **new TransformVisuals**(`options`)

#### Parameters

| Name  | Type  | Description  |
|  --- | --- | --- |
| `options` | [`Options`](/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit.flowcharts#transformvisuals#options) | command options |


Methods
#### execute

▸ **execute**(): `boolean`

Executes the command

#### Returns

`boolean`

true on success, false if not executed

#### Implementation of

[ICommand](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.flowcharts.commands.icommand.icommand).[execute](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.flowcharts.commands.icommand.icommand#execute)

#### getClassName

▸ **getClassName**(): `string`

#### Returns

`string`

#### Implementation of

[ICommand](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.flowcharts.commands.icommand.icommand).[getClassName](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.flowcharts.commands.icommand.icommand#getclassname)

#### getVisuals

▸ `Protected` **getVisuals**(): [`Component`](/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit.flowcharts#icomponent#component)[]

Gets the visual collection

#### Returns

[`Component`](/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit.flowcharts#icomponent#component)[]

#### setVisuals

▸ `Protected` **setVisuals**(`value`): `void`

Sets the visual collection

#### Parameters

| Name  | Type  |
|  --- | --- |
| `value` | [`Component`](/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit.flowcharts#icomponent#component)[] |


#### Returns

`void`

#### undo

▸ **undo**(): `boolean`

Rewinds the command

#### Returns

`boolean`

true on success, false if couldn't be undone

#### Implementation of

[ICommand](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.flowcharts.commands.icommand.icommand).[undo](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.flowcharts.commands.icommand.icommand#undo)

#### getClassName

▸ `Static` **getClassName**(): `string`

#### Returns

`string`