|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.flagstone.transform.filter.GlowFilter.Builder
public static final class GlowFilter.Builder
Builder for creating GlowFilter objects.
| Constructor Summary | |
|---|---|
GlowFilter.Builder()
|
|
| Method Summary | |
|---|---|
GlowFilter |
build()
Create a GlowFilter object using the parameters defined in the Builder. |
GlowFilter.Builder |
setBlur(float xAmount,
float yAmount)
Set the blur amounts. |
GlowFilter.Builder |
setColor(Color aColor)
Set the colour of the glow. |
GlowFilter.Builder |
setMode(FilterMode filterMode)
Set the compositing mode for the glow. |
GlowFilter.Builder |
setPasses(int count)
Set the number of passes for creating the blur. |
GlowFilter.Builder |
setStrength(float weight)
Set the glow strength. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GlowFilter.Builder()
| Method Detail |
|---|
public GlowFilter.Builder setColor(Color aColor)
aColor - the glow colour.
public GlowFilter.Builder setBlur(float xAmount,
float yAmount)
xAmount - the horizontal blur amount.yAmount - the vertical blur amount.
public GlowFilter.Builder setMode(FilterMode filterMode)
filterMode - the compositing mode, either INNER, KNOCKOUT or
TOP.
public GlowFilter.Builder setStrength(float weight)
weight - the weight of the glow.
public GlowFilter.Builder setPasses(int count)
count - the number of blur passes.
public GlowFilter build()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||