color ~master (2020-04-14T12:21:13Z)
Home
Dub
Repo
RGB.ComponentType
std
experimental
color
rgb
RGB
Type of the color components.
alias
ComponentType
=
ComponentType_
struct
RGB
(string components_, ComponentType_, bool linear_ = false, RGBColorSpace colorSpace_ = RGBColorSpace.sRGB)
@
safe
pure nothrow @
nogc
static if
(
isFloatingPoint!ComponentType_
)
alias
ComponentType
=
ComponentType_
alias
ComponentType
=
NormalizedInt
!
ComponentType_
Meta
Source
See Implementation
std
experimental
color
rgb
RGB
aliases
ComponentType
ParentColor
constructors
this
functions
opBinary
opCast
opEquals
opOpAssign
opUnary
properties
tristimulus
tristimulusWithAlpha
static functions
convertColorImpl
templates
Components
variables
colorSpace
colorSpaceDesc
components
hasAlpha
hasComponent
linear
Type of the color components.