Package de.intarsys.tools.geometry
Class ApplyTransformationShape
java.lang.Object
de.intarsys.tools.geometry.TransformedShape
de.intarsys.tools.geometry.ApplyTransformationShape
- All Implemented Interfaces:
IShapeWrapper,Shape,Cloneable
The transformation is defined explicitly.
-
Field Summary
Fields inherited from class de.intarsys.tools.geometry.TransformedShape
IDENTITY -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedApplyTransformationShape(Shape shape, AffineTransform transform) -
Method Summary
Modifier and TypeMethodDescriptionprotected Shapeapply()clone()Returns an exact copy of thisAreaobject.static TransformedShapecreate(Shape shape, AffineTransform transform) Methods inherited from class de.intarsys.tools.geometry.TransformedShape
contains, contains, contains, contains, getBaseShape, getBounds, getBounds2D, getPathIterator, getPathIterator, getShape, intersects, intersects, invalidate
-
Constructor Details
-
ApplyTransformationShape
-
ApplyTransformationShape
-
-
Method Details
-
create
- Parameters:
shape- The wrapped base shapetransform- The coordinate space where "shape" is defined.- Returns:
- The new
TransformedShape
-
apply
- Specified by:
applyin classTransformedShape
-
clone
Returns an exact copy of thisAreaobject.- Specified by:
clonein classTransformedShape- Returns:
- Created clone object
-
getTransform
- Specified by:
getTransformin classTransformedShape
-