SWFFill

The SWFFill object allows you to transform (scale, skew, rotate) bitmap and gradient fills. SWFFill objects are created by the SWFShape addFill methods.


void skewX(float x);

Set fill x-skew x. 1.0 is a 45-degree forward slant. More is more forward, less is more backward.


void skewXTo(float x);
Set fill x-skew to x. 1.0 is a 45-degree forward slant. More is more forward, less is more backward.


void skewY(float y);
Set fill y-skew y. 1.0 is a 45-degree upward slant. More is more upward, less is more downward.


void skewYTo(float y);
Set fill y-skew to y. 1.0 is a 45-degree upward slant. More is more upward, less is more downward.


void scaleX(float x);
Set fill x-scaley-skew to x.


void scaleXTo(float x);
Set fill x-scaley-skew to x.


void scaleY(float y);
Set fill y-scaley-skew to y.


void scaleYTo(float y);
Set fill y-scaley-skew to y.


void scaleXY(float x, float y);
Deprecated.
Set fill scale x in the x-direction, y in the y-direction.


void scaleXYTo(float x, float y);
Deprecated.
Set fill scale to x in the x-direction, y in the y-direction.


void scale(float x, float y);
void scale(float scale);

Set fill scale x in the x-direction, y in the y-direction.


void scaleTo(float x, float y);
void scaleTo(float scale);

Set fill scale to x in the x-direction, y in the y-direction.


void rotate(float degrees);
Set fill rotation degrees degrees.


void rotateTo(float degrees);
Set fill rotation to degrees degrees.


void move(float x, float y);
Move fill origin (x,y) in global coordinates.


void moveTo(float x, float y);
Move fill origin to (x,y) in global coordinates.


void setMatrix(float a, float b, float c, float d, float x, float y);
Set Matrix.


back to index