Package net.sourceforge.plantuml.cute
Class RotationZoom
- java.lang.Object
-
- net.sourceforge.plantuml.cute.RotationZoom
-
public class RotationZoom extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description double
applyRotation(double alpha)
double
applyZoom(double value)
static RotationZoom
builtRotationOnYaxis(java.awt.geom.Point2D toRotate)
RotationZoom
compose(RotationZoom other)
static RotationZoom
fromVarArgs(VarArgs varArgs)
double
getAngleDegree()
java.awt.geom.Point2D.Double
getPoint(double x, double y)
java.awt.geom.Point2D
getPoint(java.awt.geom.Point2D p)
UTranslate
getUTranslate(UTranslate translate)
RotationZoom
inverse()
boolean
isNone()
static RotationZoom
none()
static RotationZoom
rotationInDegrees(double angle)
static RotationZoom
rotationInRadians(double angle)
java.lang.String
toString()
static RotationZoom
zoom(double zoom)
-
-
-
Method Detail
-
compose
public RotationZoom compose(RotationZoom other)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
fromVarArgs
public static RotationZoom fromVarArgs(VarArgs varArgs)
-
rotationInDegrees
public static RotationZoom rotationInDegrees(double angle)
-
rotationInRadians
public static RotationZoom rotationInRadians(double angle)
-
zoom
public static RotationZoom zoom(double zoom)
-
inverse
public RotationZoom inverse()
-
getAngleDegree
public double getAngleDegree()
-
builtRotationOnYaxis
public static RotationZoom builtRotationOnYaxis(java.awt.geom.Point2D toRotate)
-
getPoint
public java.awt.geom.Point2D.Double getPoint(double x, double y)
-
getPoint
public java.awt.geom.Point2D getPoint(java.awt.geom.Point2D p)
-
getUTranslate
public UTranslate getUTranslate(UTranslate translate)
-
none
public static RotationZoom none()
-
isNone
public boolean isNone()
-
applyZoom
public double applyZoom(double value)
-
applyRotation
public double applyRotation(double alpha)
-
-