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::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)
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)