dg2d ~master (2020-11-11T23:31:17Z)
Dub
Repo
Gradient.addStop
dg2d
gradient
Gradient
add a color stop, pos will be cliped to 0..1
class
Gradient
Gradient
addStop
(
float
pos
,
uint
color
)
Meta
Source
See Implementation
dg2d
gradient
Gradient
constructors
this
destructors
~this
functions
addStop
getLookup
initEqualSpaced
isOpaque
length
lookupLength
reset
setLookupLength
add a color stop, pos will be cliped to 0..1