Color

open class Color(source)

Represents a color in RGBA space.

Online Documentation

Constructors

Link copied to clipboard
constructor(red: Double, green: Double, blue: Double, alpha: Double)

Creates a new color instance.

Properties

Link copied to clipboard
external val alpha: Double

The alpha component of this color in the range [0-1].

Link copied to clipboard
external val blue: Double

The blue component of this color in the range [0-1].

Link copied to clipboard
external val green: Double

The green component of this color in the range [0-1].

Link copied to clipboard
external val red: Double

The red component of this color in the range [0-1].