kmx > IUP > IUP::Canvas::Palette

Download:
IUP-0.202.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source   Latest Release: IUP-0.202_1

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

syntax highlighting: