The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
PackedRGB.this
std
experimental
color
packedrgb
PackedRGB
Construct a color from RGB and optional alpha values.
struct
PackedRGB
(string format_, ComponentType_, RGBColorSpace colorSpace_ = RGBColorSpace.sRGB)
@
safe
pure nothrow @
nogc
this
(
UnpackedColor
color
)
if
(
isNumeric
!
ComponentType_
)
Meta
Source
See Implementation
std
experimental
color
packedrgb
PackedRGB
aliases
UnpackedColor
constructors
this
functions
opCast
manifest constants
BitsPerElement
format
properties
unpacked
variables
colorSpace
colorSpaceDesc
componentInfo
components
data
hasAlpha
hasComponent
hasSharedExponent
sharedExponent
Construct a color from RGB and optional alpha values.