/** * Create a new ImagePainter with the specified image and alignment. * @param horizontal the horizontal alignment * @param vertical the vertical alignment * @param image the image to be painted */ public ImagePainter(BufferedImage image, HorizontalAlignment horizontal, VerticalAlignment vertical) { super(); setCacheable(true); this.img = image; this.setVerticalAlignment(vertical); this.setHorizontalAlignment(horizontal); this.setFillPaint(null); this.setBorderPaint(null); }
/** * Create a new ImagePainter with the specified image and alignment. * @param horizontal the horizontal alignment * @param vertical the vertical alignment * @param image the image to be painted */ public ImagePainter(BufferedImage image, HorizontalAlignment horizontal, VerticalAlignment vertical) { super(); setCacheable(true); this.img = image; this.setVerticalAlignment(vertical); this.setHorizontalAlignment(horizontal); this.setFillPaint(null); this.setBorderPaint(null); this.setDirty(false); }
/** * Create a new ImagePainter with the specified image and alignment. * @param horizontal the horizontal alignment * @param vertical the vertical alignment * @param image the image to be painted */ public ImagePainter(BufferedImage image, HorizontalAlignment horizontal, VerticalAlignment vertical) { super(); setCacheable(true); this.img = image; this.setVerticalAlignment(vertical); this.setHorizontalAlignment(horizontal); this.setFillPaint(null); this.setBorderPaint(null); this.setDirty(false); }
/** * Create a new ImagePainter with the specified image and alignment. * @param horizontal the horizontal alignment * @param vertical the vertical alignment * @param image the image to be painted */ public ImagePainter(BufferedImage image, HorizontalAlignment horizontal, VerticalAlignment vertical) { super(); setCacheable(true); this.img = image; this.setVerticalAlignment(vertical); this.setHorizontalAlignment(horizontal); this.setFillPaint(null); this.setBorderPaint(null); this.setDirty(false); }