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