|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.flagstone.transform.filter.BevelFilter.Builder
public static final class BevelFilter.Builder
Builder for creating BevelFilter objects.
| Constructor Summary | |
|---|---|
BevelFilter.Builder()
|
|
| Method Summary | |
|---|---|
BevelFilter |
build()
Create a BevelFilter object using the parameters defined in the Builder. |
BevelFilter.Builder |
setAngle(float radians)
Set the shadow angle in radians. |
BevelFilter.Builder |
setBlur(float xAmount,
float yAmount)
Set the blur amounts. |
BevelFilter.Builder |
setDistance(float width)
Set the distance from the object that the shadow is displayed. |
BevelFilter.Builder |
setHighlight(Color color)
Set the colour used for the highlight section of hte bevel. |
BevelFilter.Builder |
setMode(FilterMode filterMode)
Set the compositing mode for the shadow. |
BevelFilter.Builder |
setPasses(int count)
Set the number of passes for creating the blur. |
BevelFilter.Builder |
setShadow(Color color)
Set the colour used for the shadow section of the bevel. |
BevelFilter.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 BevelFilter.Builder()
| Method Detail |
|---|
public BevelFilter.Builder setShadow(Color color)
color - the shadow colour.
public BevelFilter.Builder setHighlight(Color color)
color - the highlight colour.
public BevelFilter.Builder setBlur(float xAmount,
float yAmount)
xAmount - the horizontal blur amount.yAmount - the vertical blur amount.
public BevelFilter.Builder setMode(FilterMode filterMode)
filterMode - the compositing mode, either INNER, KNOCKOUT or
TOP.
public BevelFilter.Builder setAngle(float radians)
radians - the angle.
public BevelFilter.Builder setDistance(float width)
width - the width of the shadow.
public BevelFilter.Builder setStrength(float weight)
weight - the weight of the shadow.
public BevelFilter.Builder setPasses(int count)
count - the number of blur passes.
public BevelFilter build()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||