Skip to content

API / geotoolkit / flowcharts / commands / RotateVisuals / RotateVisuals

Class: RotateVisuals

commands.RotateVisuals.RotateVisuals

Rotates the visual based on the provided rotation anchor type.

Hierarchy

Table of contents

Constructors
  • [new RotateVisuals(options)](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.flowcharts.commands.rotatevisuals.rotatevisuals.md#new rotatevisuals(options))
Methods

Contents

Constructors

new RotateVisuals(options)

• new RotateVisuals(options)

Parameters

Name Type Description
optionsOptionscommand options

Overrides

TransformVisuals.constructor

Methods

execute

▸ execute(): boolean

Executes the command

Returns

boolean

true on success, false if not executed

Inherited from

TransformVisuals.execute


getClassName

▸ getClassName(): string

Returns

string

Inherited from

TransformVisuals.getClassName


getVisuals

▸ Protected getVisuals(): Component[]

Gets the visual collection

Returns

Component[]

Inherited from

TransformVisuals.getVisuals


setVisuals

▸ Protected setVisuals(value): void

Sets the visual collection

Parameters

Name Type
valueComponent[]

Returns

void

Inherited from

TransformVisuals.setVisuals


undo

▸ undo(): boolean

Rewinds the command

Returns

boolean

true on success, false if couldn't be undone

Inherited from

TransformVisuals.undo


getClassName

▸ Static getClassName(): string

Returns

string

Inherited from

TransformVisuals.getClassName