The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
HSx.this
std
experimental
color
hsx
HSx
Construct a color from hsx components.
this
(HueType h, ComponentType s, ComponentType x)
this
(HueType h, ComponentType.IntType s, ComponentType.IntType x)
struct
HSx
(HSxType type_, ComponentType_ = float, RGBColorSpace colorSpace_ = RGBColorSpace.sRGB)
@
safe
pure nothrow @
nogc
static if
(
!isFloatingPoint!ComponentType_
)
this
(
HueType
h
,
ComponentType.IntType
s
,
ComponentType.IntType
x
)
if
(
isFloatingPoint
!
ComponentType_
||
isUnsigned
!
ComponentType_
)
Meta
Source
See Implementation
std
experimental
color
hsx
HSx
aliases
ComponentType
HueType
constructors
this
functions
opCast
manifest constants
colorSpace
properties
degrees
radians
variables
colorSpaceDesc
type
Construct a color from hsx components.