SwatchGroup
SwatchGroup
Section titled “SwatchGroup”swatchGroup
一组 Swatch 对象。
SwatchGroup.name
Section titled “SwatchGroup.name”swatchGroup.name
色板组的名称。
string
SwatchGroup.parent
Section titled “SwatchGroup.parent”swatchGroup.parent
包含色板组的对象。
Object; 只读。
SwatchGroup.typename
Section titled “SwatchGroup.typename”swatchGroup.typename
引用对象的类名。
String; 只读
SwatchGroup.addSpot()
Section titled “SwatchGroup.addSpot()”swatchGroup.addSpot(spot)
向色板组添加一个专色色板。
参数 | 类型 | 描述 |
---|---|---|
spot | Spot | 要添加的专色 |
无。
SwatchGroup.addSwatch()
Section titled “SwatchGroup.addSwatch()”swatchGroup.addSwatch(swatch)
向色板组添加一个色板。
参数 | 类型 | 描述 |
---|---|---|
swatch | Swatch | 要添加的色板 |
无。
SwatchGroup.getAllSwatches()
Section titled “SwatchGroup.getAllSwatches()”swatchGroup.getAllSwatches()
获取色板组中所有色板的列表。
Swatch 的列表
SwatchGroup.remove()
Section titled “SwatchGroup.remove()”swatchGroup.remove()
删除此对象。
无。
SwatchGroup.removeAll()
Section titled “SwatchGroup.removeAll()”swatchGroup.removeAll()
删除集合中的所有元素。
无。