ColorEntryCollection

ColorEntryCollection class

Contains the document’s color table. Each document contains a single color table, which lists the 24 standard colors that are available for application to objects such as shapes, text, and layers in the document.

Methods

NameDescription
add(color)Add the Color object in the collection.
clear()
get()
getCount()
iterator()Reserved for internal use.
remove(color)Remove the Color object from the collection.
removeAt()

add(color)

Add the Color object in the collection.

ParameterTypeDescription
colorColorEntry

Returns: Number — Number

clear()

get()

getCount()

iterator()

Reserved for internal use.

remove(color)

Remove the Color object from the collection.

ParameterTypeDescription
colorColorEntry

removeAt()