Fixed the pod path in archive
[sdlgit/SDL_perl.git] / lib / pods / SDL / Palette.pod
CommitLineData
896b04ee 1=pod
2
3=head1 NAME
4
5SDL::Palette - a perl extension
6
7=head1 DESCRIPTION
8
9L<SDL::Palette> provides an interface to the C<SDL_Palette> structures,
10and can be used to set the color values of an existing palette's indexes.
11
12=head1 METHODS
13
14=head2 ncolors ( )
15
16Fetches the number of colors in palette
17
18=head2 colors ( index )
19
20Fetches an array of colors in palette
21
22=head2 color_index ( index )
23
24Fetches the SDL_Color at the provide index in palette
25
26=head2 size
27
28Returns the size of the palette.
29
30
31=head1 SEE ALSO
32
33L<SDL::Color> L<SDL::Surface>
34
35=cut