SDL::Color
SDL::Color(r)  User Contributed Perl Documentation  SDL::Color(r)



NAME
       SDL::Color - a SDL perl extension

SYNOPSIS
         $rect = new SDL::Color ( -r => 0xde, -g => 0xad, -b =>c0 );


DESCRIPTION
       "SDL::Color" is a wrapper for display format independent
       color representations.

       new ( -surface => $app, -pixel => 0x000000 )


       new ( -r => 0xff, -g => 0xff, -b => 0xff )


       r ( [ red ] )


       g ( [ green ] )


       b ( [ blue ] )


       pixel ()


AUTHOR
       David J. Goehrig

SEE ALSO
       perl(l) SDL::Surface(e) SDL::TTFont(t)



perl v5.6.1                 2002-04-05              SDL::Color(r)