in reply to perl tk and background gradient color.
=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
|
|---|