Package PamView
Class TransformShape
java.lang.Object
PamView.TransformShape
Stores a shape and a transform, if it has one.
- Author:
- Jamie Macaulay
-
Constructor Summary
ConstructorDescriptionTransformShape
(Shape shape, double angle, Point2D origin) TransformShape
(Shape shape, AffineTransform transform) TransformShape
(Shape shape, AffineTransform transform, Point2D origin) -
Method Summary
Modifier and TypeMethodDescriptiondouble
getAngle()
getShape()
void
setAngle
(double angle) void
void
void
setTransform
(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
-