Package net.sourceforge.plantuml.klimt
Class UTranslate
- java.lang.Object
-
- net.sourceforge.plantuml.klimt.UTranslate
-
-
Constructor Summary
Constructors Constructor Description UTranslate(double dx, double dy)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description XRectangle2D
apply(XRectangle2D rect)
UTranslate
compose(UTranslate other)
static UTranslate
dx(double dx)
static UTranslate
dy(double dy)
double
getDx()
double
getDy()
XPoint2D
getPosition()
XPoint2D
getTranslated(XPoint2D p)
boolean
isAlmostSame(UTranslate other)
UTranslate
multiplyBy(double v)
static UTranslate
none()
static UTranslate
point(XPoint2D p)
UTranslate
reverse()
UTranslate
rotate(double angle)
UTranslate
scaled(double scale)
UTranslate
sym()
java.lang.String
toString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
none
public static UTranslate none()
-
dx
public static UTranslate dx(double dx)
-
dy
public static UTranslate dy(double dy)
-
point
public static UTranslate point(XPoint2D p)
-
getDx
public double getDx()
-
getDy
public double getDy()
-
isAlmostSame
public boolean isAlmostSame(UTranslate other)
-
scaled
public UTranslate scaled(double scale)
-
compose
public UTranslate compose(UTranslate other)
-
reverse
public UTranslate reverse()
-
apply
public XRectangle2D apply(XRectangle2D rect)
-
multiplyBy
public UTranslate multiplyBy(double v)
-
sym
public UTranslate sym()
-
getPosition
public XPoint2D getPosition()
-
rotate
public UTranslate rotate(double angle)
-
-