Class ApplyTransformationShape

  • All Implemented Interfaces:
    IShapeWrapper, java.awt.Shape, java.lang.Cloneable

    public class ApplyTransformationShape
    extends TransformedShape
    The transformation is defined explicitly.
    • Constructor Detail

      • ApplyTransformationShape

        protected ApplyTransformationShape​(java.awt.Shape shape,
                                           java.awt.geom.AffineTransform transform)
    • Method Detail

      • create

        public static TransformedShape create​(java.awt.Shape shape,
                                              java.awt.geom.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 java.lang.Object clone()
        Returns an exact copy of this Area object.
        Specified by:
        clone in class TransformedShape
        Returns:
        Created clone object