Convert::Color::VGA man page on Pidora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Pidora logo
[printable version]

Convert::Color::VGA(3)User Contributed Perl DocumentatioConvert::Color::VGA(3)

NAME
       "Convert::Color::VGA" - named lookup for the basic VGA colors

SYNOPSIS
       Directly:

	use Convert::Color::VGA;

	my $red = Convert::Color::VGA->new( 'red' );

	# Can also use index
	my $black = Convert::Color::VGA->new( 0 );

       Via Convert::Color:

	use Convert::Color;

	my $cyan = Convert::Color->new( 'vga:cyan' );

DESCRIPTION
       This subclass of Convert::Color::RGB provides predefined colors for the
       8 basic VGA colors. Their names are

	black
	red
	green
	yellow
	blue
	magenta
	cyan
	white

       They may be looked up either by name, or by numerical index within this
       list.

CONSTRUCTOR
   $color = Convert::Color::VGA->new( $name )
       Returns a new object to represent the named color.

   $color = Convert::Color::VGA->new( $index )
       Returns a new object to represent the color at the given index.

METHODS
   $index = $color->index
       The index of the VGA color.

   $name = $color->name
       The name of the VGA color.

SEE ALSO
       ยท   Convert::Color - color space conversions

AUTHOR
       Paul Evans <leonerd@leonerd.org.uk>

perl v5.14.0			  2011-06-19		Convert::Color::VGA(3)
[top]

List of man pages available for Pidora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net