跳到主要内容

ApiPresetColor

表示预设颜色的类。

ApiPresetColor 是 ApiUniColor 的子类。

方法​

下表列出了可用的方法。

方法返回值描述
GetClassType"presetColor"返回 ApiPresetColor 类的类型。
GetRGBnumber返回 RGB 格式的颜色值。
ToJSONJSON将 ApiPresetColor 对象转换为 JSON 对象。