public class FillOperations
extends java.lang.Object
Constructor and Description |
---|
FillOperations() |
Modifier and Type | Method and Description |
---|---|
static java.awt.image.BufferedImage |
fillMaskCopy(java.awt.image.BufferedImage pImage,
java.awt.Color pColor,
java.awt.image.BufferedImage pMask)
Returns a copy of the given image, where the pixels indicated by the mask are filled with the given color.
|
public static java.awt.image.BufferedImage fillMaskCopy(java.awt.image.BufferedImage pImage, java.awt.Color pColor, java.awt.image.BufferedImage pMask)
pImage
- BufferedImage representing the image from which should be filled with a color at certain pixels.pColor
- The color that should be used for the filling operation.pMask
- The mask indicating for each pixel if it should be colored with the given color.