ae v0.0.2845 (2020-11-29T12:45:19Z)
Home
Dub
Repo
Color.blend
ae
utils
graphics
color
Color
Alpha-blend a color with an alpha channel on top of one without.
typeof
(
this
)
blend
(typeof(this) c0, typeof(this) c1)
typeof
(
this
)
blend
(typeof(this) c0, C c1)
struct
Color
(FieldTuple...)
static
typeof
(this)
blend
(
C
)
(
typeof
(this)
c0
,
C
c1
)
if
(
!
is
(
typeof
(
a
)) &&
is
(
typeof
(
c1.a
))
)
Meta
Source
See Implementation
ae
utils
graphics
color
Color
aliases
ChannelType
Spec
functions
opBinary
opCast
opOpAssign
opUnary
sum
toHex
manifest constants
channelBits
channels
homogenous
mixins
__anonymous
properties
max
min
static functions
blend
fromHex
itpl
monochrome
op
variables
black
white
Alpha-blend a color with an alpha channel on top of one without.