本页由脚本自动生成,请勿手动编辑。如需补充说明,请使用
::: tip块。
Defined in: commands/transform-element-command.d.ts:5
Extends
Constructors
Constructor
ts
new TransformElementCommand(
host,
element,
oldState,
newState): TransformElementCommand;Defined in: commands/transform-element-command.d.ts:11
Parameters
| Parameter | Type |
|---|---|
host | EditorHost |
element | IGraphicElement |
oldState | any |
newState | any |
Returns
TransformElementCommand
Overrides
Properties
timestamp
ts
timestamp: number;Defined in: commands/base-command.d.ts:5
Inherited from
description?
ts
optional description?: string;Defined in: commands/base-command.d.ts:6
Inherited from
name
ts
name: string;Defined in: commands/transform-element-command.d.ts:6
Overrides
Methods
redo()
ts
redo(): void;Defined in: commands/base-command.d.ts:11
Returns
void
Inherited from
execute()
ts
execute(): void;Defined in: commands/transform-element-command.d.ts:12
Returns
void
Overrides
undo()
ts
undo(): void;Defined in: commands/transform-element-command.d.ts:13
Returns
void
Overrides
canMergeWith()
ts
canMergeWith(command): boolean;Defined in: commands/transform-element-command.d.ts:16
Parameters
| Parameter | Type |
|---|---|
command | ICommand |
Returns
boolean
Overrides
mergeWith()
ts
mergeWith(command): ICommand;Defined in: commands/transform-element-command.d.ts:17
Parameters
| Parameter | Type |
|---|---|
command | TransformElementCommand |