Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

graphics::primitive::paint::gradient::linear(3pm) [debian 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)

Check Out this Related 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)
Man Page

4 More Discussions You Might Find Interesting

1. Programming

Conversion of Hexa Value in String From to Primitive Hexavalue.

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)
Discussion started by: S.Vishwanath
1 Replies

2. Linux

CrunchBang: Conky stops updating

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)
Discussion started by: looop
0 Replies

3. Shell Programming and Scripting

Help with identify gradient and the coefficient of determination of a straight line

Hi, Do anybody experience using awk or perl command to identify gradient of a straight line and The coefficient of determination/R-square value of a chart (R2) ? Below is my input file : t1 2 3 5 8 t2 0 2 0 2 t3 1 1 1 1 t4 50 70 80 90 . . . Desired Output : t1 2 3 5 8 0.6986... (10 Replies)
Discussion started by: perl_beginner
10 Replies

4. AIX

AIX 7.1 booting stops at C1922000 C19220FF

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)
Discussion started by: lilyn
1 Replies