|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.flagstone.transform.filter.BlurFilter
public final class BlurFilter
BlurFilter is used to apply a Box filter to the pixel of an object on the display list.
| Constructor Summary | |
|---|---|
BlurFilter(float xBlur,
float yBlur,
int count)
Create a BlurFilter with the horizontal and vertical blur values and the number of passes. |
|
BlurFilter(SWFDecoder coder)
Creates and initialises a BlueFilter object using values encoded in the Flash binary format. |
|
| Method Summary | |
|---|---|
void |
encode(SWFEncoder coder,
Context context)
Encode an object to the Flash binary format. |
boolean |
equals(Object object)
|
float |
getBlurX()
Get the blur amount in the x-direction. |
float |
getBlurY()
Get the blur amount in the y-direction. |
int |
getPasses()
Get the number of passes. |
int |
hashCode()
|
int |
prepareToEncode(Context context)
Prepare an object for encoding, returning the expected size of an object when it is encoded. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BlurFilter(SWFDecoder coder)
throws IOException
coder - an SWFDecoder object that contains the encoded Flash data.
IOException - if an error occurs while decoding the data.
public BlurFilter(float xBlur,
float yBlur,
int count)
xBlur - the blur amount in the x-direction.yBlur - the blue amount in the y-direction.count - the number of passes to apply.| Method Detail |
|---|
public float getBlurX()
public float getBlurY()
public int getPasses()
public String toString()
toString in class Objectpublic boolean equals(Object object)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic int prepareToEncode(Context context)
prepareToEncode in interface SWFEncodeablecontext - an Context that allows information to be passed between
objects to control how they are initialised for encoding.
public void encode(SWFEncoder coder,
Context context)
throws IOException
encode in interface SWFEncodeablecoder - an SWFEncoder object.context - an Context that allows information to be passed between
objects to control how they are initialised for encoding.
IOException - if an error occurs while encoding the object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||