Skip to main content

ApiPresetColor

Class representing a Preset Color.

ApiPresetColor is a subclass of ApiUniColor.

Methods​

The following table lists the available methods.

MethodReturnsDescription
GetClassType"presetColor"Returns a type of the ApiPresetColor class.
GetRGBnumberReturns a color value in RGB format.
ToJSONJSONConverts the ApiPresetColor object into the JSON object.