graphics::primitive::border(3pm) [debian man page]
Graphics::Primitive::Border(3pm) User Contributed Perl Documentation Graphics::Primitive::Border(3pm)NAME
Graphics::Primitive::Border - Line around components
DESCRIPTION
Graphics::Primitive::Border describes the border to be rendered around a component.
SYNOPSIS
use Graphics::Primitive::Border;
my $border = Graphics::Primitive::Border->new;
METHODS
new
Creates a new Graphics::Primitiver::Border. Borders are composed of 4 brushes, one for each of the 4 sides. See the documentation for
Graphics::Primitive::Brush for more information. Note that you can provide a "width" and "color" argument to the constructor and it will
create brushes of that width for each side.
bottom
The brush representing the bottom border.
clone
Close this border.
color
Set the Color on all 4 borders to the one supplied. Shortcut for setting it with each side.
dash_pattern
Set the dash pattern on all 4 borders to the one supplied. Shortcut for setting it with each side.
equal_to ($other)
Returns 1 if this border is equal to the one provided, else returns 0.
homogeneous
Returns 1 if all of this border's sides are the same. Allows for driver optimizations.
left
The brush representing the left border.
not_equal_to
Opposite of "equal_to".
right
The brush representing the right border.
top
The brush representing the top border.
width
Set the width on all 4 borders to the one supplied. Shortcut for setting it with each side.
AUTHOR
Cory Watson, "<gphat@cpan.org>"
COPYRIGHT & LICENSE
Copyright 2008-2010 by Cory G Watson.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.12.3 2010-08-21 Graphics::Primitive::Border(3pm)
Check Out this Related Man Page
Graphics::Primitive::Paint::Gradient::Linear(3pm) User Contributed Perl Documentation Graphics::Primitive::Paint::Gradient::Linear(3pm)NAME
Graphics::Primitive::Paint::Gradient::Linear - Linear color blending
DESCRIPTION
Graphics::Primitive::Paint::Gradient::Linear is a gradient along a line.
SYNOPSIS
use Graphics::Primitive::Paint::Gradient::Linear;
my $gradient = Graphics::Primitive::Gradient::Linear->new(
line => Geometry::Primitive::Line->new(
start => Graphics::Primitive::Point->new(x => 0, y => 0),
end => Graphics::Primitive::Point->new(x => 0, y => 10),
)
);
$gradient->add_stop(0.0, $color1);
$gradient->add_stop(1.0, $color2);
METHODS
Constructor
new Creates a new Graphics::Primitive::Gradient
Instance Methods
add_stop
Adds a color stop at the specified position
colors
Hashref of colors and their stops. The stops are the keys.
line
The line along which the gradient should run.
stop_count
Count of stops added to this Gradient.
stops
Get the keys of all color stops.
AUTHOR
Cory Watson <gphat@cpan.org>
COPYRIGHT & LICENSE
Copyright 2008-2010 by Cory G Watson.
You can redistribute and/or modify this code under the same terms as Perl itself.
perl v5.12.3 2010-08-21 Graphics::Primitive::Paint::Gradient::Linear(3pm)
Now I am just getting frustrated and confused... if anyone has some advice on how this anomoly is occurring I would greatly appreciate it.
cat helpme.txt | awk 'NR<5{printf("%-20s %-20d %-20d %-20.1f\n","hello",$1,$2,$3)}' | sort -rk4
This line works fine in solo - reads the three fields from... (4 Replies)
Hi,
I have an output file to which the ksh write... Each time the ksh is called it have different input so the output differeent...
EG: lets consider the ksh to be Read.ksh
and another ksh called Mail.ksh calls this Read.ksh with differend input
like this
Read.ksh load
Read.ksh Load_clm... (7 Replies)
I have a list with four dates
say load_date.lst contains
2010-01-01 2010-01-31
2010-03-01 2010-03-31
2010-05-01 2010-05-31
2010-07-01 2010-07-31
And I have directory /lll/src/sql with set of sql's
1_load.sql
2_load.sql
3_load.sql
I want to run the sql'in series with respective to... (3 Replies)
Hi,
I'm new to Perl, and I want to change a few columns in a file in order to insert them into a database.
The input file looks like this:
00001,"01/1234567" ,"Tst2"
00002,"01/4545646" ,"Tst123456"
00003,"01/8979898" ,""
The output should look like this:
01-1234567,00001... (2 Replies)
Hi all,
i have a peice of Perl script like this:
foreach (@line) {
@tmp = split /;/,$_;
#print "Line is: $_\n";
switch($tmp){
case m/p60/i {
push @p60, , $tmp ];
... (7 Replies)
Hi everyone,
I need to merge two files side by side
The files look something like this:
HOSTNAME
fishtornado-K52F 127.0.1.1
UPTIME
20:17:01 up 2:19, 3 users,
load average: 0.00, 0.04, 0.05
DISK USAGE
(Size/Used/Avail/Use%)
29G 6.5G 21G 25%
RUN QUEUE
PID COMMAND USER ... (4 Replies)
Hi,
I am little new to forum and new on unix side. I have a small issue below:
I am reading a file that has 5 columns something like below.
col1,col2,col3,col4,col5
Some records are having double quoted values something like below:
"value1","value2","value3","value4","value5"
I need... (8 Replies)