Fixed the pod path in archive
[sdlgit/SDL_perl.git] / lib / pods / SDL / Game / 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 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 blue ( index, [value] )
15
16Fetches and sets the blue component of the color at index.
17
18=head2 green ( index, [value] )
19
20Fetches and sets the green component of the color at index.
21
22=head2 red ( index, [value] )
23
24Fetches and sets the red component of the color at index.
25
26=head2 color ( index, [ r, g, b ] )
27
28Fetches and sets the RGB, returns an SDL_Color *.
29
30=head2 size
31
32Returns the size of the palette.
33
34=head1 AUTHOR
35
36David J. Goehrig
37
38=head1 SEE ALSO
39
40L<perl> L<SDL::Color> L<SDL::Surface>
41
42=cut