GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CONVERT::COLOR::VGA (3)

.ds Aq ’

NAME

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

CONTENTS

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

CW$color = Convert::Color::VGA->new( CW$name )

Returns a new object to represent the named color.

CW$color = Convert::Color::VGA->new( CW$index )

Returns a new object to represent the color at the given index.

METHODS

CW$index = CW$color->index

The index of the VGA color.

CW$name = CW$color->name

The name of the VGA color.

SEE ALSO

o Convert::Color - color space conversions

AUTHOR

Paul Evans <leonerd@leonerd.org.uk>
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 CONVERT::COLOR::VGA (3) 2014-06-01

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.