Icon::FamFamFam::Silk(3pm)

Icon::FamFamFam::Silk3pm

Embed these famous icons in your code

Usage

 use Icon::FamFamFam::Silk;
 my $wrench = Icon::FamFamFam::Silk->new('wrench_orange');
 print $wrench->base64;

or

 use Icon::FamFamFam::Silk;
 print Icon::FamFamFam::Silk::base64('wrench_orange');

Version

0.002001003

(Version 0.002 of this module and version 1.3 of the icons.)

Overview

These methods can be called as functions taking the name of the icon (a string) as their argument, or can be called as object methods on an instantiated icon object. (See "SYNOPSIS".)

"Icon::FamFamFam::Silk->new($name)"

Returns a blessed icon object.

"Icon::FamFamFam::Silk->list"

Returns a list of all the icons.

"$icon->name"

Returns the name of the icon.

"$icon->base64"

Returns base64-encoded PNG data.

"$icon->raw"

Returns raw PNG data.

"$icon->uri"

Returns a "data:" URI for the icon.

"$icon->attribution_data" =item "Icon::FamFamFam::Silk->attribution_data"

Returns a hash of data useful for giving credit to Mark James.

This is in a format suitable for passing to HTML::HTML5::Builder's "CREATIVE_COMMONS" function, should you want to do something like that.

Disclaimer of warranties

THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.

Releases

7 releases since Debian 7 (Wheezy); the text changed 2 times.

  1. 7–10
  2. 11–12
  3. 13

Bugs

Please report any bugs to <http://rt.cpan.org/>.

Author

Icons by Mark James of <http://famfamfam.com/>.

Module by Toby Inkster <[email protected]>.

From libicon-famfamfam-silk-perl 0.002001003-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.