Dear,
=head1 NAME
Tk::Canvas::GradientColor - To create a Canvas widget with background
+gradient color.
=head1 SYNOPSIS
#!/usr/bin/perl
use strict;
use warnings;
use Tk;
use Tk::Canvas::GradientColor;
my $mw = new MainWindow(
-title => 'Tk::Canvas::GradientColor',
-background => 'white',
);
my $canvas = $mw->GradientColor(
-width => 400,
-height => 400,
)->pack( qw/ -fill both -expand 1 / );
MainLoop();
=head1 DESCRIPTION
Tk::Canvas::GradientColor is an extension of the Canvas widget. It is
+an easy way to build a
canvas widget with gradient background color.
...
...
The module allows to use 7 types of background gradient color : linear_horizontal, linear_vertical, mirror_horizontal, mirror_vertical, radial, corner_right and corner_left.
# WIDGET-SPECIFIC METHODS
- disabled_gradientcolor
- enabled_gradientcolor
- get_gradientcolor
- set_gradientcolor
- RGBtoHex
- HextoRGB
I am looking for comments or complaints about the name-space or anything else.
Best regards,
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.