The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
RGB.hasComponent
std
experimental
color
rgb
RGB
Test if a particular component is present.
struct
RGB
(string components_, ComponentType_, bool linear_ = false, RGBColorSpace colorSpace_ = RGBColorSpace.sRGB)
@
safe
pure nothrow @
nogc
enum
bool
hasComponent
(
char
c
)
;
Meta
Source
See Implementation
std
experimental
color
rgb
RGB
aliases
ComponentType
constructors
this
functions
opBinary
opCast
opOpAssign
opUnary
properties
tristimulus
tristimulusWithAlpha
variables
colorSpace
colorSpaceDesc
components
hasAlpha
hasComponent
linear
Test if a particular component is present.