ThemeColor

ThemeColor class

Represents a theme color.

new ThemeColor(type, tint)

Methods

NameDescription
getColorType()Gets and sets the theme type. The value of the property is ThemeColorType integer constant.
getTint()Gets and sets the tint value. The tint value is stored as a double from -1.0 .. 1.0, where -1.0 means 100% darken and 1.
setColorType()Gets and sets the theme type. The value of the property is ThemeColorType integer constant.
setTint()Gets and sets the tint value. The tint value is stored as a double from -1.0 .. 1.0, where -1.0 means 100% darken and 1.

getColorType()

Gets and sets the theme type. The value of the property is ThemeColorType integer constant.

getTint()

Gets and sets the tint value. The tint value is stored as a double from -1.0 .. 1.0, where -1.0 means 100% darken and 1.0 means 100% lighten. Also, 0.0 means no change.

setColorType()

Gets and sets the theme type. The value of the property is ThemeColorType integer constant.

setTint()

Gets and sets the tint value. The tint value is stored as a double from -1.0 .. 1.0, where -1.0 means 100% darken and 1.0 means 100% lighten. Also, 0.0 means no change.