constructor(...params)Parameters<typeof color/Color> Params to create a color instance.byLayerColorboolean | undefinedgetColor()color/ColorInstanceReturns the color instance.
setColor(...params)Parameters<typeof color/Color> Params to create a color instance.thisSets the color instance.
getIndexColor()color/ColorInstanceReturns the index color.
setIndexColor(index)number The index color.