|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.webtoolkit.jwt.WShadow
public class WShadow
A value class that defines a shadow style.
WPainter.setShadow(WShadow shadow)| Constructor Summary | |
|---|---|
WShadow()
Default constructor. |
|
WShadow(double dx,
double dy,
WColor color,
double blur)
Constructs a shadow with given offset and color. |
|
| Method Summary | |
|---|---|
boolean |
equals(WShadow other)
Indicates whether some other object is "equal to" this one. |
double |
getBlur()
Returns the blur. |
WColor |
getColor()
Returns the shadow color. |
double |
getOffsetX()
Returns the shadow X offset. |
double |
getOffsetY()
Returns the shadow Y offset. |
boolean |
isNone()
Returns whether the shadow effect is nihil. |
void |
setBlur(double blur)
Sets the blur. |
void |
setColor(WColor color)
Changes the shadow color. |
void |
setOffsets(double dx,
double dy)
Sets the shadow offset. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WShadow()
Constructs a disabled shadow effect (offsetX = offsetY = blur = 0)
public WShadow(double dx,
double dy,
WColor color,
double blur)
| Method Detail |
|---|
public boolean equals(WShadow other)
Returns true if the shadows are exactly the same.
public boolean isNone()
public void setOffsets(double dx,
double dy)
public double getOffsetX()
setOffsets(double dx, double dy)public double getOffsetY()
setOffsets(double dx, double dy)public void setColor(WColor color)
getColor()public WColor getColor()
setColor(WColor color)public void setBlur(double blur)
getBlur()public double getBlur()
setBlur(double blur)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||