graphics::primitive::paint::gradient::radial(3pm) [debian man page]
Graphics::Primitive::Paint::Gradient::Radial(3pm) User Contributed Perl Documentation Graphics::Primitive::Paint::Gradient::Radial(3pm)NAME
Graphics::Primitive::Paint::Gradient::Radial - Radial color blending
DESCRIPTION
Graphics::Primitive::Paint::Gradient::Radial is a color blend between two circles.
SYNOPSIS
use Graphics::Primitive::Paint::Gradient::Radial;
my $gradient = Graphics::Primitive::Gradient::Radial->new(
start => Geometry::Primitive::Circle->new(
origin => 0, 0,
radius => 5
),
end => Geometry::Primitive::Circle->new(
origin => 50, 25,
radius => 5
)
);
$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.
end The "end" circle.
start
The "start" circle.
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::Radial(3pm)
Check Out this Related Man Page
Graphics::Primitive::Insets(3pm) User Contributed Perl Documentation Graphics::Primitive::Insets(3pm)NAME
Graphics::Primitive::Insets - Space between things
DESCRIPTION
Graphics::Primitive::Insets represents the amount of space that surrounds something. This object can be used to represent either padding
or margins (in the CSS sense, one being inside the bounding box, the other being outside)
SYNOPSIS
use Graphics::Primitive::Insets;
my $insets = Graphics::Primitive::Insets->new({
top => 5,
bottom => 5,
left => 5,
right => 5
});
METHODS
Constructor
new Creates a new Graphics::Primitive::Insets.
Instance Methods
as_array
Return these insets as an array in the form of top, right, bottom and left.
bottom
Set/Get the inset from the bottom.
equal_to
Determine if these Insets are equal to another.
left
Set/Get the inset from the left.
right
Set/Get the inset from the right.
top Set/Get the inset from the top.
zero
Sets all the insets (top, left, bottom, right) to 0.
AUTHOR
Cory Watson, "<gphat@cpan.org>"
SEE ALSO perl(1)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::Insets(3pm)
Hi,
In My Program I have HEXA value in a string array as below :
char hexa="0xabcd1234"; //This is how I'm getting source data.
Actaully I want this hexa value to be decremented with -1
and store it in another string as "0xabcd1234".
Can any body help me how to do that..?
I... (1 Reply)
Hey I have a problem in CrunchBang with Conky (I user openBox as DE)
When I open OpenOffice and it only happens with openOffice, the Conky stops updating every 5th second, and I can acctualy understand why 'cause even if I reset Conky it will not update, I have to sudo halt - not even sudo reboot... (0 Replies)
Hi,
we have the p6 server running AIX 7.1
it suddenly stops working.
I tried to re-cycle power but it keeps stopping at C19220FF.
Activate the service processor pinhole reset switch but still stops at the same code.
Error logs:
1. 501A1181 2016-06-08 22:06:20 'Service Process'... (1 Reply)