Class PBox

  • All Implemented Interfaces:
    Picture

    public class PBox
    extends java.lang.Object
    implements Picture
    Used to compose Pictures "next to" each other. They be put in a row (X-axis), in a column (Y-axis), or on top of each other with same origin (Z-axis).
    • Method Detail

      • getBounds2D

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

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

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

        public static PBox makeBox​(char axis,
                                   java.lang.Object... args)
      • combine

        public static Picture combine​(java.util.List parts)