public abstract class TransformStackElement extends Object implements Cloneable
限定符 | 构造器和说明 |
---|---|
protected |
TransformStackElement(TransformType type,
double[] transformParameters) |
限定符和类型 | 方法和说明 |
---|---|
Object |
clone() |
boolean |
concatenate(TransformStackElement stackElement) |
static TransformStackElement |
createGeneralTransformElement(AffineTransform txf) |
static TransformStackElement |
createRotateElement(double theta) |
static TransformStackElement |
createScaleElement(double scaleX,
double scaleY) |
static TransformStackElement |
createShearElement(double shearX,
double shearY) |
static TransformStackElement |
createTranslateElement(double tx,
double ty) |
double[] |
getTransformParameters() |
TransformType |
getType() |
boolean |
isIdentity() |
protected TransformStackElement(TransformType type, double[] transformParameters)
type
- transform typetransformParameters
- parameters for transformpublic static TransformStackElement createTranslateElement(double tx, double ty)
public static TransformStackElement createRotateElement(double theta)
public static TransformStackElement createScaleElement(double scaleX, double scaleY)
public static TransformStackElement createShearElement(double shearX, double shearY)
public static TransformStackElement createGeneralTransformElement(AffineTransform txf)
public boolean isIdentity()
public double[] getTransformParameters()
public TransformType getType()
public boolean concatenate(TransformStackElement stackElement)
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.