1Icon::FamFamFam::Silk(3U)ser Contributed Perl DocumentatiIocnon::FamFamFam::Silk(3)
2
3
4
6 Icon::FamFamFam::Silk - embed these famous icons in your code
7
9 0.002001003
10
11 (Version 0.002 of this module and version 1.3 of the icons.)
12
14 use Icon::FamFamFam::Silk;
15 my $wrench = Icon::FamFamFam::Silk->new('wrench_orange');
16 print $wrench->base64;
17
18 or
19
20 use Icon::FamFamFam::Silk;
21 print Icon::FamFamFam::Silk::base64('wrench_orange');
22
24 These methods can be called as functions taking the name of the icon (a
25 string) as their argument, or can be called as object methods on an
26 instantiated icon object. (See "SYNOPSIS".)
27
28 "Icon::FamFamFam::Silk->new($name)"
29 Returns a blessed icon object.
30
31 "Icon::FamFamFam::Silk->list"
32 Returns a list of all the icons.
33
34 "$icon->name"
35 Returns the name of the icon.
36
37 "$icon->base64"
38 Returns base64-encoded PNG data.
39
40 "$icon->raw"
41 Returns raw PNG data.
42
43 "$icon->uri"
44 Returns a "data:" URI for the icon.
45
46 "$icon->attribution_data" =item
47 "Icon::FamFamFam::Silk->attribution_data"
48 Returns a hash of data useful for giving credit to Mark James.
49
50 This is in a format suitable for passing to HTML::HTML5::Builder's
51 "CREATIVE_COMMONS" function, should you want to do something like
52 that.
53
55 Please report any bugs to <http://rt.cpan.org/>.
56
58 <http://famfamfam.com/lab/icons/silk/>.
59
61 Icons by Mark James of <http://famfamfam.com/>.
62
63 Module by Toby Inkster <tobyink@cpan.org>.
64
66 Mark James distributes the icons themselves under the CC-BY 3.0 licence
67 <http://creativecommons.org/licenses/by/3.0/>. Applications using
68 Icon::FamFamFam::Silk (even indirectly via another module) must provide
69 credit. Including a link to <http://famfamfam.com/lab/icons/silk/> in
70 the documentation of the application is probably sufficient.
71
72 Toby Inkster releases the additional Perl coding into the Public
73 Domain.
74
76 THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
77 WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
78 MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
79
80
81
82perl v5.28.0 2011-10-11 Icon::FamFamFam::Silk(3)