intarsys runtime library

de.intarsys.tools.geometry
Class ApplyTransformationShape

java.lang.Object
  extended by de.intarsys.tools.geometry.TransformedShape
      extended by de.intarsys.tools.geometry.ApplyTransformationShape
All Implemented Interfaces:
IShapeWrapper, Shape, Cloneable

public class ApplyTransformationShape
extends TransformedShape

The transformation is defined explicitly.


Method Summary
 Object clone()
          Returns an exact copy of this Area object.
static TransformedShape create(Shape shape, AffineTransform transform)
          Create a new Shape created from shape by applying transform
 AffineTransform getTransform()
           
 
Methods inherited from class de.intarsys.tools.geometry.TransformedShape
contains, contains, contains, contains, getBaseShape, getBounds, getBounds2D, getPathIterator, getPathIterator, getShape, intersects, intersects, invalidate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static TransformedShape create(Shape shape,
                                      AffineTransform transform)
Create a new Shape created from shape by applying transform

Parameters:
shape - The wrapped base shape
transform - The coordinate space where "shape" is defined.
Returns:
The new TransformedShape

clone

public Object clone()
Returns an exact copy of this Area object.

Specified by:
clone in class TransformedShape
Returns:
Created clone object

getTransform

public AffineTransform getTransform()
Specified by:
getTransform in class TransformedShape

intarsys runtime library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.