跳转到内容

SwatchGroup

swatchGroup

一组 Swatch 对象。


swatchGroup.name

色板组的名称。

string


swatchGroup.parent

包含色板组的对象。

Object; 只读。


swatchGroup.typename

引用对象的类名。

String; 只读


swatchGroup.addSpot(spot)

向色板组添加一个专色色板。

参数类型描述
spotSpot要添加的专色

无。


swatchGroup.addSwatch(swatch)

向色板组添加一个色板。

参数类型描述
swatchSwatch要添加的色板

无。


swatchGroup.getAllSwatches()

获取色板组中所有色板的列表。

Swatch 的列表


swatchGroup.remove()

删除此对象。

无。


swatchGroup.removeAll()

删除集合中的所有元素。

无。