ggplotd v0.4.13 (2016-02-19T19:08:02Z)
Dub
Repo
RGB.this
ggplotd
color
rgb
RGB
Construct a color from a hex string.
this
(ComponentType r, ComponentType g, ComponentType b, ComponentType a)
this
(ComponentType l, ComponentType a)
this
(const(C)[] hex)
struct
RGB
(string components_, ComponentType_, bool linear_ = false, RGBColorSpace colorSpace_ = RGBColorSpace.sRGB)
@
safe
pure nothrow @
nogc
this
(
C
)
(
const
(
C
)[]
hex
)
if
(
isSomeChar
!
C
)
if
(
isNumeric
!
ComponentType_
)
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 hex string.