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) |
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 UTranslate scaled(double scale)
public UTranslate compose(UTranslate other)
public UTranslate reverse()
public Rectangle2D apply(Rectangle2D rect)
Copyright © 2016. All Rights Reserved.