Package be.gaudry.swing.component.image
Class ImageDrawer
java.lang.Object
be.gaudry.swing.component.image.ImageDrawer
This utility class draws and scales an image to fit canvas of a component.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
drawScaledImage(Image image, Component canvas, Graphics g, boolean preserveMinimalSize, int imagePosition, String labelName)
-
Constructor Details
-
ImageDrawer
public ImageDrawer()
-
-
Method Details