tida ~master (2021-10-06T18:27:09Z)
Home
Dub
Repo
Color.this
tida
color
Color
Color constructor for four components, the latter which is optional.
this
(T red, T green, T blue, T alpha)
struct
Color
(T)
@
safe
nothrow pure
this
(
T
red
,
T
green
,
T
blue
,
T
alpha
=
Max
)
if
(
isIntegral
!
T
||
isFloatingPoint
!
T
)
this
(R value)
Meta
Source
See Implementation
tida
color
Color
aliases
Type
a
b
g
r
constructors
this
functions
isDark
isLight
opAssign
opBinary
to
toBytes
toGrayscale
toGrayscaleFloat
toGrayscaleNumber
manifest constants
Max
Min
properties
af
bf
gf
invertAlpha
inverted
rf
variables
alpha
blue
green
red
Color constructor for four components, the latter which is optional.