| Modifier and Type | Field and Description |
|---|---|
protected double |
x
|
protected Units |
xunits
Units
fraction, pixels, insetPixels
See Also:
See
|
protected double |
y |
protected Units |
yunits
Units
fraction, pixels, insetPixels
See Also:
See
|
| Constructor and Description |
|---|
Vec2() |
| Modifier and Type | Method and Description |
|---|---|
Vec2 |
clone() |
boolean |
equals(Object obj) |
double |
getX() |
Units |
getXunits() |
double |
getY() |
Units |
getYunits() |
int |
hashCode() |
void |
setX(double value) |
void |
setXunits(Units value) |
void |
setY(double value) |
void |
setYunits(Units value) |
Vec2 |
withX(double x)
fluent setter
|
Vec2 |
withXunits(Units xunits)
fluent setter
|
Vec2 |
withY(double y)
fluent setter
|
Vec2 |
withYunits(Units yunits)
fluent setter
|
protected double x
Use of these elements within
protected double y
protected Units xunits
fraction, pixels, insetPixels
See Also: Seeprotected Units yunits
fraction, pixels, insetPixels
See Also: Seepublic double getX()
xpublic void setX(double value)
xpublic double getY()
ypublic void setY(double value)
ypublic void setXunits(Units value)
value - allowed object is
Unitsxunitspublic void setYunits(Units value)
value - allowed object is
Unitsyunitspublic Vec2 withX(double x)
x - required parametersetX(double)public Vec2 withY(double y)
y - required parametersetY(double)public Vec2 withXunits(Units xunits)
xunits - required parametersetXunits(Units)public Vec2 withYunits(Units yunits)
yunits - required parametersetYunits(Units)Copyright © 2014 Micromata GmbH. All rights reserved.