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