Package PamView
Class TransformShape
java.lang.Object
PamView.TransformShape
Stores a shape and a transform, if it has one.
- Author:
- Jamie Macaulay
-
Constructor Summary
ConstructorsConstructorDescriptionTransformShape(Shape shape, double angle, Point2D origin) TransformShape(Shape shape, AffineTransform transform) TransformShape(Shape shape, AffineTransform transform, Point2D origin) -
Method Summary
Modifier and TypeMethodDescriptiondoublegetAngle()getShape()voidsetAngle(double angle) voidvoidvoidsetTransform(AffineTransform transform)
-
Constructor Details
-
TransformShape
-
TransformShape
-
TransformShape
-
-
Method Details
-
getAngle
public double getAngle() -
setAngle
public void setAngle(double angle) -
getShape
-
setShape
-
getTransform
-
setTransform
-
getOrigin
-
setOrigin
-