Class DrawShape

  • All Implemented Interfaces:
    Picture

    public class DrawShape
    extends java.lang.Object
    implements Picture
    • Constructor Detail

      • DrawShape

        public DrawShape​(java.awt.Shape shape)
    • Method Detail

      • getShape

        public java.awt.Shape getShape()
      • paint

        public void paint​(java.awt.Graphics2D graphics)
        Specified by:
        paint in interface Picture
      • getBounds2D

        public java.awt.geom.Rectangle2D getBounds2D()
        Specified by:
        getBounds2D in interface Picture
      • transform

        public Picture transform​(java.awt.geom.AffineTransform tr)
        Specified by:
        transform in interface Picture
      • makeDraw

        public static Picture makeDraw​(java.util.List<java.lang.Object> args)