Package com.ardorcraft.util
Class ColorUtil
java.lang.Object
com.ardorcraft.util.ColorUtil
Utility class for tinting areas of an image (for example tint black/white grass patch for biomes)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic BufferedImage
tintAreas
(BufferedImage input, List<Rectangle> areas, int sourceTintX, int sourceTintY)
-
Constructor Details
-
ColorUtil
public ColorUtil()
-
-
Method Details
-
tintAreas
public static BufferedImage tintAreas(BufferedImage input, List<Rectangle> areas, int sourceTintX, int sourceTintY) throws Exception - Throws:
Exception
-