|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.flagstone.transform.filter.GradientBevelFilter
public final class GradientBevelFilter
GradientBevelFilter is used to create a smooth bevel with a gradient colour around an object on the display list.
| Nested Class Summary | |
|---|---|
static class |
GradientBevelFilter.Builder
Builder for creating GradientBevelFilter objects. |
| Constructor Summary | |
|---|---|
GradientBevelFilter(GradientBevelFilter.Builder builder)
Create a GradientBevelFilter and initialize it wit the values defined in the Builder. |
|
GradientBevelFilter(SWFDecoder coder,
Context context)
Creates and initialises a GradientBevelFilter 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 |
getAngle()
Get the angle of the glow. |
float |
getBlurX()
Get the blur amount in the x-direction. |
float |
getBlurY()
Get the blur amount in the y-direction. |
float |
getDistance()
Get the distance of the glow from the object. |
List<Gradient> |
getGradients()
Get the list of gradients used to create the glow colour. |
FilterMode |
getMode()
Get the compositing mode. |
int |
getPasses()
Get the number of passes for generating the blur. |
float |
getStrength()
Get the strength of the glow. |
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 GradientBevelFilter(GradientBevelFilter.Builder builder)
builder - a Builder object.
public GradientBevelFilter(SWFDecoder coder,
Context context)
throws IOException
coder - an SWFDecoder object that contains the encoded Flash data.context - a Context object used to manage the decoders for different
type of object and to pass information on how objects are
decoded.
IOException - if an error occurs while decoding the data.| Method Detail |
|---|
public List<Gradient> getGradients()
public float getBlurX()
public float getBlurY()
public float getAngle()
public float getDistance()
public float getStrength()
public FilterMode getMode()
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 | |||||||||