color ~master (2020-04-14T12:21:13Z)
Home
Dub
Repo
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
ParentColor
constructors
this
functions
opCast
manifest constants
colorSpace
properties
degrees
radians
static functions
convertColorImpl
variables
colorSpaceDesc
type
Construct a color from hsx components.