跳转到内容

SwatchGroups

swatchGroups

一组 SwatchGroup 对象的集合。


swatchGroups.length

集合中对象的数量。

数字;只读。


swatchGroups.parent

对象的容器。

对象;只读。


swatchGroups.typename

对象的类名。

字符串;只读。


swatchGroups.add()

创建一个色板组。

SwatchGroup


swatchGroups.getByName(name)

获取集合中第一个具有指定名称的元素。

参数类型描述
name字符串要获取的元素的名称

SwatchGroup


swatchGroups.removeAll()

删除集合中的所有元素。

无。