SwatchGroups
SwatchGroups
Section titled “SwatchGroups”swatchGroups
一组 SwatchGroup 对象的集合。
SwatchGroups.length
Section titled “SwatchGroups.length”swatchGroups.length
集合中对象的数量。
数字;只读。
SwatchGroups.parent
Section titled “SwatchGroups.parent”swatchGroups.parent
对象的容器。
对象;只读。
SwatchGroups.typename
Section titled “SwatchGroups.typename”swatchGroups.typename
对象的类名。
字符串;只读。
SwatchGroups.add()
Section titled “SwatchGroups.add()”swatchGroups.add()
创建一个色板组。
SwatchGroups.getByName()
Section titled “SwatchGroups.getByName()”swatchGroups.getByName(name)
获取集合中第一个具有指定名称的元素。
参数 | 类型 | 描述 |
---|---|---|
name | 字符串 | 要获取的元素的名称 |
SwatchGroups.removeAll()
Section titled “SwatchGroups.removeAll()”swatchGroups.removeAll()
删除集合中的所有元素。
无。