The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
IndexedImage.addColor
arsd
color
IndexedImage
Adds an entry to the palette, returning its index
class
IndexedImage
nothrow @
trusted
ubyte
addColor
(
Color
c
)
Meta
Source
See Implementation
arsd
color
IndexedImage
constructors
this
functions
addColor
clone
convertToTrueColor
getAsTrueColorImage
getOrAddColor
height
numColors
width
variables
data
palette
Adds an entry to the palette, returning its index