public class ApplyTransformationShape extends TransformedShape
IDENTITY
Modifier | Constructor and Description |
---|---|
protected |
ApplyTransformationShape(ApplyTransformationShape shape) |
protected |
ApplyTransformationShape(java.awt.Shape shape,
java.awt.geom.AffineTransform transform) |
Modifier and Type | Method and Description |
---|---|
protected java.awt.Shape |
apply() |
java.lang.Object |
clone()
Returns an exact copy of this
Area object. |
static TransformedShape |
create(java.awt.Shape shape,
java.awt.geom.AffineTransform transform)
Create a new
Shape created from shape by applying
transform |
java.awt.geom.AffineTransform |
getTransform() |
contains, contains, contains, contains, getBaseShape, getBounds, getBounds2D, getPathIterator, getPathIterator, getShape, intersects, intersects, invalidate
protected ApplyTransformationShape(ApplyTransformationShape shape)
protected ApplyTransformationShape(java.awt.Shape shape, java.awt.geom.AffineTransform transform)
public static TransformedShape create(java.awt.Shape shape, java.awt.geom.AffineTransform transform)
Shape
created from shape
by applying
transform
shape
- The wrapped base shapetransform
- The coordinate space where "shape" is defined.TransformedShape
protected java.awt.Shape apply()
apply
in class TransformedShape
public java.lang.Object clone()
Area
object.clone
in class TransformedShape
public java.awt.geom.AffineTransform getTransform()
getTransform
in class TransformedShape