Chrome Reactive Kotlin
/
pl.wendigo.chrome.api.dom
/
RGBA
R
G
B
A
data class
RGBA
(r:
Int
, g:
Int
, b:
Int
, a:
Double
?)
Content copied to clipboard
A structure holding an RGBA color.
Constructors
Properties
Sources
Constructors
RGBA
Link copied to clipboard
fun
RGBA
(r:
Int
, g:
Int
, b:
Int
, a:
Double
? = null)
Content copied to clipboard
Properties
a
Link copied to clipboard
val
a
:
Double
? = null
Content copied to clipboard
The alpha component, in the 0-1 range (default: 1).
b
Link copied to clipboard
val
b
:
Int
Content copied to clipboard
The blue component, in the 0-255 range.
g
Link copied to clipboard
val
g
:
Int
Content copied to clipboard
The green component, in the 0-255 range.
r
Link copied to clipboard
val
r
:
Int
Content copied to clipboard
The red component, in the 0-255 range.
Sources
jvm source
Link copied to clipboard