Constructor and Description |
---|
UTranslate() |
UTranslate(double dx,
double dy) |
UTranslate(Point2D p) |
Modifier and Type | Method and Description |
---|---|
Rectangle2D |
apply(Rectangle2D rect) |
UTranslate |
compose(UTranslate other) |
double |
getDx() |
double |
getDy() |
Point2D |
getTranslated(Point2D p) |
boolean |
isAlmostSame(UTranslate other) |
UTranslate |
multiplyBy(double v) |
UTranslate |
reverse() |
UTranslate |
scaled(double scale) |
String |
toString() |
public UTranslate(double dx, double dy)
public UTranslate(Point2D p)
public UTranslate()
public double getDx()
public double getDy()
public boolean isAlmostSame(UTranslate other)
public UTranslate scaled(double scale)
public UTranslate compose(UTranslate other)
public UTranslate reverse()
public Rectangle2D apply(Rectangle2D rect)
public UTranslate multiplyBy(double v)
Copyright © 2016. All Rights Reserved.