public class WatermarkRatio
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private float |
widthRatio
The width of the watermark.
|
private float |
xRatio
The x-coordinate of the upper left corner of the watermark.
|
private float |
yRatio
The y-coordinate of the upper left corner of the watermark.
|
| Constructor and Description |
|---|
WatermarkRatio() |
WatermarkRatio(float x,
float y,
float width) |
| Modifier and Type | Method and Description |
|---|---|
float |
getWidthRatio() |
float |
getXRatio() |
float |
getYRatio() |
void |
setWidthRatio(float widthRatio) |
void |
setXRatio(float xRatio) |
void |
setYRatio(float yRatio) |
java.lang.String |
toString() |
private float xRatio
private float yRatio
private float widthRatio
public WatermarkRatio()
public WatermarkRatio(float x,
float y,
float width)
public float getXRatio()
public void setXRatio(float xRatio)
public float getYRatio()
public void setYRatio(float yRatio)
public float getWidthRatio()
public void setWidthRatio(float widthRatio)
public java.lang.String toString()
toString in class java.lang.Object