Class AffineTransform
- java.lang.Object
-
- net.sourceforge.plantuml.awt.geom.AffineTransform
-
public class AffineTransform extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AffineTransform()AffineTransform(double[] ds)AffineTransform(int i, int j, int k, int l, int m, int n)AffineTransform(AffineTransform at)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconcatenate(AffineTransform affineTransform)static AffineTransformgetRotateInstance(double d)static AffineTransformgetScaleInstance(double scale, double scale2)doublegetScaleX()doublegetScaleY()static AffineTransformgetShearInstance(double shx, double shy)static AffineTransformgetTranslateInstance(double tx, double ty)doublegetTranslateX()doublegetTranslateY()voidscale(double changex, double changey)voidsetToShear(double coef, double coef2)Point2Dtransform(Point2D src, Point2D dest)voidtranslate(double x, double y)
-
-
-
Constructor Detail
-
AffineTransform
public AffineTransform(AffineTransform at)
-
AffineTransform
public AffineTransform(double[] ds)
-
AffineTransform
public AffineTransform(int i, int j, int k, int l, int m, int n)
-
AffineTransform
public AffineTransform()
-
-
Method Detail
-
getScaleX
public double getScaleX()
-
getScaleY
public double getScaleY()
-
getTranslateX
public double getTranslateX()
-
getTranslateY
public double getTranslateY()
-
translate
public void translate(double x, double y)
-
concatenate
public void concatenate(AffineTransform affineTransform)
-
getScaleInstance
public static AffineTransform getScaleInstance(double scale, double scale2)
-
setToShear
public void setToShear(double coef, double coef2)
-
getTranslateInstance
public static AffineTransform getTranslateInstance(double tx, double ty)
-
getShearInstance
public static AffineTransform getShearInstance(double shx, double shy)
-
getRotateInstance
public static AffineTransform getRotateInstance(double d)
-
scale
public void scale(double changex, double changey)
-
-