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
Color::Library::Dictionary(3) User Contributed Perl Documentation Color::Library::Dictionary(3)

Color::Library::Dictionary - Color dictionary for Color::Library

@colors = $dictionary->colors
Returns the list of Color::Library::Color objects contained by $dictionary

Will return a list in list context, and a list reference in scalar context

@names = $dictionary->names
@names = $dictionary->color_names
Returns the list of color names contained by $dictionary

Will return a list in list context, and a list reference in scalar context

$color = $dictionary->color( <query> )
Returns a Color::Library::Color object of $dictionary found via <query>

A query can be any of the following:

color name
A color name is like "blue" or "bleached-almond"
color title
A color title is like "Dark Green-Teal"
color id
A color id is in the form of <dictionary_id>:<color_name>, for example: "x11:azure1"
$id = $dictionary->id
$name = $dictionary->name
Returns the id (name) of $dictionary, e.g.

    svg
    x11
    vaccc
    nbs-iscc-f
    
$title = $dictionary->title
Returns the title of $dictionary, e.g.

    SVG
    X11
    VACCC
    NBS/ISCC F
    
$subtitle = $dictionary->subtitle
Returns the subtitle of $dictionary, if any
$description = $dictionary->description
Returns the description of $dictionary, if any

Hey! The above document had some coding errors, which are explained below:
Around line 78:
=over without closing =back
2011-12-07 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

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