File: README

package info (click to toggle)
libcolor-spectrum-multi-perl 0.02-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 84 kB
  • sloc: perl: 72; makefile: 2
file content (51 lines) | stat: -rw-r--r-- 1,285 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Color-Spectrum-Multi

A very simple wrapper around Color::Spectrum, to make fading between more than
two colours simple and pleasant.

See Color::Spectrum's documentation - the only difference using
Color::Spectrum::Multi is that you can supply as many colours as you wish.

For instance, you could fade from red, through yellow, to green:

my $spectrum = Color::Spectrum::Multi->new;
my @colors = $spectrum->generate(15, '#FF0000', '#FFEE00', '#00FF00');

INSTALLATION

To install this module, run the following commands:

	perl Makefile.PL
	make
	make test
	make install

SUPPORT AND DOCUMENTATION

After installing, you can find documentation for this module with the
perldoc command.

    perldoc Color::Spectrum::Multi

You can also look for information at:

    RT, CPAN's request tracker
        http://rt.cpan.org/NoAuth/Bugs.html?Dist=Color-Spectrum-Multi

    AnnoCPAN, Annotated CPAN documentation
        http://annocpan.org/dist/Color-Spectrum-Multi

    CPAN Ratings
        http://cpanratings.perl.org/d/Color-Spectrum-Multi

    Search CPAN
        http://search.cpan.org/dist/Color-Spectrum-Multi/


COPYRIGHT AND LICENCE

Copyright (C) 2009 David Precious

This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.