|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.flagstone.transform.filter.GradientGlowFilter.Builder
public static final class GradientGlowFilter.Builder
Builder for creating GradientGlowFilter objects.
| Constructor Summary | |
|---|---|
GradientGlowFilter.Builder()
Creates a new Builder. |
|
| Method Summary | |
|---|---|
GradientGlowFilter.Builder |
addGradient(Gradient gradient)
Add a Gradient to the list. |
GradientGlowFilter |
build()
Create a GradientGlowFilter object using the parameters defined in the Builder. |
GradientGlowFilter.Builder |
setAngle(float radians)
Set the glow angle in radians. |
GradientGlowFilter.Builder |
setBlur(float xAmount,
float yAmount)
Set the blur amounts. |
GradientGlowFilter.Builder |
setDistance(float width)
Set the distance of the glow from the object. |
GradientGlowFilter.Builder |
setMode(FilterMode filterMode)
Set the compositing mode for the shadow. |
GradientGlowFilter.Builder |
setPasses(int count)
Set the number of passes for creating the blur. |
GradientGlowFilter.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 GradientGlowFilter.Builder()
| Method Detail |
|---|
public GradientGlowFilter.Builder addGradient(Gradient gradient)
gradient - a Gradient object.
public GradientGlowFilter.Builder setBlur(float xAmount,
float yAmount)
xAmount - the horizontal blur amount.yAmount - the vertical blur amount.
public GradientGlowFilter.Builder setMode(FilterMode filterMode)
filterMode - the compositing mode, either INNER, KNOCKOUT or
TOP.
public GradientGlowFilter.Builder setAngle(float radians)
radians - the angle.
public GradientGlowFilter.Builder setDistance(float width)
width - the width of the glow.
public GradientGlowFilter.Builder setStrength(float weight)
weight - the weight of the glow.
public GradientGlowFilter.Builder setPasses(int count)
count - the number of blur passes.
public GradientGlowFilter build()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||