dplug ~master (2024-12-12T14:21:32Z)
Home
Dub
Repo
DefColor.fromHex
dplug
graphics
color
DefColor
Construct an RGB color from a typical hex string.
struct
DefColor
(FieldTuple...)
static
static if
(
is(typeof(this.r) == ubyte) && is(typeof(this.g) == ubyte) && is(typeof(this.b) == ubyte)
)
typeof
(this)
fromHex
(
in
char
[]
s
)
Meta
Source
See Implementation
dplug
graphics
color
DefColor
aliases
ChannelType
Spec
functions
opBinary
opCast
opOpAssign
opUnary
sum
toHex
manifest constants
channelBits
channels
homogenous
mixins
__anonymous
static functions
fromHex
itpl
monochrome
op
Construct an RGB color from a typical hex string.