ggplotd v0.4.13 (2016-02-19T19:08:02Z)
Dub
Repo
RGB.this
ggplotd
color
rgb
RGB
Construct a color from a luminance and optional alpha value.
this
(ComponentType r, ComponentType g, ComponentType b, ComponentType a)
this
(ComponentType l, ComponentType a)
struct
RGB
(string components_, ComponentType_, bool linear_ = false, RGBColorSpace colorSpace_ = RGBColorSpace.sRGB)
@
safe
pure nothrow @
nogc
this
(
ComponentType
l
,
ComponentType
a
=
defaultAlpha
!
ComponentType
)
if
(
isNumeric
!
ComponentType_
)
this
(const(C)[] hex)
Meta
Source
See Implementation
ggplotd
color
rgb
RGB
aliases
ComponentType
constructors
this
functions
opCast
opEquals
mixins
__anonymous
properties
tristimulus
tristimulusWithAlpha
templates
Components
variables
colorSpace
components
hasAlpha
hasComponent
linear
Construct a color from a luminance and optional alpha value.