Lines Matching refs:image
23 import java.awt.image.BufferedImage;
24 import java.awt.image.DataBufferInt;
81 BufferedImage image; in createDropShadow() local
84 image = new BufferedImage(width + SHADOW_SIZE, height + SHADOW_SIZE, in createDropShadow()
87 Graphics2D g2 = image.createGraphics(); in createDropShadow()
88 g2.drawImage(image, shadowSize, shadowSize, null); in createDropShadow()
90 int dstWidth = image.getWidth(); in createDropShadow()
91 int dstHeight = image.getHeight(); in createDropShadow()
107 int[] dataBuffer = ((DataBufferInt) image.getRaster().getDataBuffer()).getData(); in createDropShadow()
173 return image; in createDropShadow()
193 BufferedImage image; in createRectangularDropShadow() local
194 image = new BufferedImage(width + SHADOW_SIZE, height + SHADOW_SIZE, type); in createRectangularDropShadow()
195 Graphics2D g = image.createGraphics(); in createRectangularDropShadow()
197 drawRectangleShadow(image, 0, 0, width, height); in createRectangularDropShadow()
200 return image; in createRectangularDropShadow()
221 BufferedImage image; in createSmallRectangularDropShadow() local
222 image = new BufferedImage(width + SMALL_SHADOW_SIZE, height + SMALL_SHADOW_SIZE, type); in createSmallRectangularDropShadow()
224 Graphics2D g = image.createGraphics(); in createSmallRectangularDropShadow()
226 drawSmallRectangleShadow(image, 0, 0, width, height); in createSmallRectangularDropShadow()
229 return image; in createSmallRectangularDropShadow()
243 public static void drawRectangleShadow(BufferedImage image, in drawRectangleShadow() argument
245 Graphics2D gc = image.createGraphics(); in drawRectangleShadow()
264 public static void drawSmallRectangleShadow(BufferedImage image, in drawSmallRectangleShadow() argument
266 Graphics2D gc = image.createGraphics(); in drawSmallRectangleShadow()