GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SWF::CXFORM (3)

.ds Aq ’

NAME

SWF::CXform - SWF CXform class

CONTENTS

SYNOPSIS



        use SWF::CXform;
        $cxf = new SWF::CXform();
        $cxf->setColorAdd(100, 200, 30.5 , -50);
        $dispitem->setCXform($cxf);



DESCRIPTION

SWF::CXform is a helper class useful for color transformations on SWF::DisplayItem objects.

METHODS

new SWF::CXform( [ $rAdd ], [ $gAdd ], [ $bAdd ], [ $aAdd ], [ $rMult ], [ $gMult ], [ $bMult ], [$aMult] ) Creates a CXform object. The object is controlled by a parameter list of RGBA values both for addition and multiplication. All of them are optional, but could be set later via setColorAdd() and setColorMult() methods. Default values for the xAdd parameters are 0, and for xMult defaults are 1. Use the created object as parameter for transformations on SWF::DisplayItem objects.
setColorAdd($rAdd, $gAdd, $bAdd, $aAdd) Set addition values of a CXform object.
setColorMult($rMult, $gMult, $bMult, $aMult) Set multiplication values of a CXform object.

AUTHOR



        developers of
        ming.sourceforge.net



SEE ALSO

SWF, SWF::DisplayItem, SWF::Filter
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 .::SWF::CXFORM (3) 2015-05-15

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.