There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

NAME

IUP::Canvas::Palette - [special Canvas helper] Color palette for use with IUP::Canvas

SYNOPSIS

$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);

DESCRIPTION

IUP::Canvas::Bitmap is a helper class used by IUP::Canvas methods: cdPalette

SEE ALSO

IUP::Canvas