Skip to main content

ApiThemeColorScheme

Class representing a theme color scheme.

Methods​

The following table lists the available methods.

MethodReturnsDescription
ChangeColorbooleanChanges a color in the theme color scheme.
CopyApiThemeColorSchemeCreates a copy of the current theme color scheme.
GetClassType"themeColorScheme"Returns the type of the ApiThemeColorScheme class.
GetColorApiColor | null | undefinedReturns a color of the theme color scheme.
GetSchemeNamestringReturns the name of the current theme color scheme.
SetSchemeNamebooleanSets a name to the current theme color scheme.
ToJSONJSONConverts the ApiThemeColorScheme object into the JSON object.