public class DropShadow
extends java.lang.Object
implements java.lang.Cloneable
| Constructor and Description |
|---|
DropShadow() |
DropShadow(float offsetX,
float offsetY)
Constructor.
|
DropShadow(java.lang.String color,
float offsetX,
float offsetY)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
DropShadow |
clone() |
java.lang.String |
getColor()
Return the drop shadow color.
|
float |
getOffsetX()
Return the offset x position.
|
float |
getOffsetY()
Return the offset y position.
|
void |
setColor(java.lang.String color)
Set the drop shadow color.
|
void |
setOffsetX(float offsetX)
Set the offset x position.
|
void |
setOffsetY(float offsetY)
Set the offset y position.
|
public DropShadow()
public DropShadow(float offsetX,
float offsetY)
offsetX - the shadow x offsetoffsetY - the shadow y offsetpublic DropShadow(java.lang.String color,
float offsetX,
float offsetY)
color - the coloroffsetX - the shadow x offsetoffsetY - the shadow y offsetpublic DropShadow clone()
clone in class java.lang.Objectpublic java.lang.String getColor()
public void setColor(java.lang.String color)
color - the drop shadow colorpublic void setOffsetX(float offsetX)
offsetX - the offset x positionpublic float getOffsetX()
public void setOffsetY(float offsetY)
offsetY - the offset y positionpublic float getOffsetY()
Copyright © 2021, 2022 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence