@XStreamConverter(value=ScaleConverter.class) public class Scale extends Object implements Overwriting, Cloneable, Serializable
| Modifier and Type | Field and Description |
|---|---|
double |
x
X coordinate scale.
|
double |
y
Y coordinate scale.
|
| Constructor and Description |
|---|
Scale()
Constructs new
Scale. |
Scale(double x,
double y)
Constructs new
Scale. |
| Modifier and Type | Method and Description |
|---|---|
double |
getX()
Returns X coordinate scale.
|
double |
getY()
Returns Y coordinate scale.
|
boolean |
isOverwrite()
Returns whether or not this object should overwrite another one upon merge.
|
void |
setScale(double x,
double y)
Adjusts X and Y coordinate scaling.
|
String |
toString() |
public Scale()
Scale.public Scale(double x,
double y)
Scale.x - X coordinate scaley - Y coordinate scalepublic double getX()
public double getY()
public void setScale(double x,
double y)
x - X coordinate scaley - Y coordinate scalepublic boolean isOverwrite()
OverwritingisOverwrite in interface Overwritingtrue if this object should overwrite another one upon merge, false otherwiseCopyright © 2020. All rights reserved.