SWF.Fill man page on Cygwin

Man page or keyword search:  
man Server   22533 pages
apropos Keyword Search (all sections)
Output format
Cygwin logo
[printable version]

SWF::Fill(3)	      User Contributed Perl Documentation	  SWF::Fill(3)

NAME
       SWF::Fill - SWF fill class

SYNOPSIS
	       use SWF::Fill;
	       usw SWF::Shape;
	       $shape = new SWF::Shape();
	       $fill = $shape->addGradientFill($gradient,SWFFILL_LINEAR_GRADIENT);

DESCRIPTION
       There is no object constructor because SWF::Fill objects are always
       returned by method calls of SWF::Shape objects, like

	       $fill = $shape->addSolidFill($r, $g, $b, $a);
	       $fill = $shape->addGradientFill($gradient, flags);
	       $fill = $shape->addBitmapFill($bitmap, $flag);

       You can now modify that SWF::Fill object using following methods.

NOTE
       None of the following methods is designed or useful for solid fill
       objects, because it does not make any sense to rotate or scale a solid
       fill.

METHODS
       $fill->moveTo($x, $y)
	   Move $fill to ($x, $y) in global co-ordinates.

       $fill->scaleTo($x [,$y])
	   Set $fill scale to $x in the x-direction and $y in the y-direction.
	   If $y is not specified, $y=$x is assumed.

       $fill->scale($x [,$y])
	   Multiply $fill scale by $x in the x-direction and $y in the
	   y-direction.	 If $y is not specified, $y=$x is assumed.

       $fill->rotateTo($degrees)
	   Set $fill rotation to $degrees.

       $fill->rotate($degrees)
	   Rotate $fill by $degrees.

       $fill->skewX($x)
	   Add $x to the current x-skew.

       $fill->skewXTo($x)
	   Set x-skew to $x. 1.0 is 45-degree forward slant.  More is more
	   forward while less is more backward.

       $fill->skewY($y)
	   Add $y to the current y-skew.

       $fill->skewYTo($y)
	   Set y-skew to $y. 1.0 is 45-degree upward slant.  More is more
	   upward while less is more downward.

       $fill->setMatrix($a, $b, $c, $d, $e, $f)
	   Do an operation of rotating/skewing (b,c), moving (e,f) and scaling
	   (a,d) at once.  The default initial values of an SWF::Fill object's
	   matrix are 1.0, 0, 0, 1.0, 0, 0 .  So calling setMatrix with these
	   defaults (setMatrix(1.0, 0, 0, 1.0, 0, 0);) will reset results of
	   earlier calls of SWF::Fill methods (like rotate(45) etc. etc.)

AUTHOR
	       developers of
	       ming.sourceforge.net

SEE ALSO
       SWF, SWF::Shape, SWF::DisplayItem, SWF::Constants

perl v5.14.2			  2010-10-10			  SWF::Fill(3)
[top]

List of man pages available for Cygwin

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net