IUP::Canvas::Palette - [special Canvas helper] Color palette for use with IUP::Canvas
$pal = IUP::Canvas::Palette->new( [$col0, $col1, $col2, ...] ); $pal = IUP::Canvas::Palette->new($n); $value = $pal->Color($n); $pal->Color($n, $color); $pal->Size; $pal->Data; $canvas->cdPalette($pal, $mode);
IUP::Canvas::Bitmap is a helper class used by IUP::Canvas methods: cdPalette
IUP::Canvas
To install IUP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IUP
CPAN shell
perl -MCPAN -e shell install IUP
For more information on module installation, please visit the detailed CPAN module installation guide.