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)
struct
HSx
(HSxType type_, ComponentType_ = float, RGBColorSpace colorSpace_ = RGBColorSpace.sRGB)
@
safe
pure nothrow @
nogc
this
(
HueType
h
,
ComponentType
s
,
ComponentType
x
)
if
(
isFloatingPoint
!
ComponentType_
||
isUnsigned
!
ComponentType_
)
this
(HueType h, ComponentType.IntType s, ComponentType.IntType x)
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.