dlangui v0.10.2 (2022-12-17T17:39:40Z)
Home
Dub
Repo
decodeHexColor
dlangui
graphics
colors
decode color string supported formats: #RGB #ARGB #RRGGBB #AARRGGBB
pure
uint
decodeHexColor
(
string
s
,
uint
defValue
= 0
)
Meta
Source
See Implementation
dlangui
graphics
colors
enums
Color
functions
addAlpha
blendARGB
blendAlpha
blendGray
blendSubpixel
decodeHexColor
isFullyTransparentColor
makeRGBA
rgbToGray
subpixelComponentIndex
transformComponent
transformRGBA
structs
ColorTransform
ColorTransformHandler
variables
COLOR_DRAWABLE
COLOR_TRANSFORM_MULTIPLY_NONE
COLOR_TRANSFORM_OFFSET_NONE
COLOR_TRANSPARENT
COLOR_UNSPECIFIED
COMPONENT_OFFSET_ALPHA
COMPONENT_OFFSET_BGR
COMPONENT_OFFSET_RGB
decode color string supported formats: #RGB #ARGB #RRGGBB #AARRGGBB