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
ConstructorsModifierConstructorDescriptionprotected
protected
ApplyTransformationShape
(Shape shape, AffineTransform transform) -
Method Summary
Modifier and TypeMethodDescriptionprotected Shape
apply()
clone()
Returns an exact copy of thisArea
object.static TransformedShape
create
(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:
apply
in classTransformedShape
-
clone
Returns an exact copy of thisArea
object.- Specified by:
clone
in classTransformedShape
- Returns:
- Created clone object
-
getTransform
- Specified by:
getTransform
in classTransformedShape
-