public abstract class TransformStackElement extends Object implements Cloneable
Modifier | Constructor and Description |
---|---|
protected |
TransformStackElement(TransformType type,
double[] transformParameters) |
Modifier and Type | Method and Description |
---|---|
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 Object clone()
public 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 © 2000–2023 Apache Software Foundation. All rights reserved.