Class: AppendCommand

AppendCommand

new AppendCommand

図形要素の追加を行うコマンド

Parameters:
Name Type Description
commandData Object コマンドデータオブジェクト。AppendCommandクラスでは以下のようなプロパティを持つオブジェクトを指定してください。

{
	shape: 追加するArtShape
	layer: ArtShapeの要素を追加する対象の要素
}

Extends

Methods

getShape

コマンドと紐づくArtShapeオブジェクトを取得する

Returns:
Type
ArtShape