Last updated

API / geotoolkit / flowcharts / commands / ScaleVisuals / ScaleVisuals

Class: ScaleVisuals

commands.ScaleVisuals.ScaleVisuals

Extends Transform visuals and performs scaling

Hierarchy

Table of contents

Constructors
Methods

Contents

Constructors

new ScaleVisuals(options)

new ScaleVisuals(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