Package net.atmp
Class PixelImage
- java.lang.Object
-
- net.atmp.PixelImage
-
- All Implemented Interfaces:
MutableImage
public class PixelImage extends Object implements MutableImage
-
-
Constructor Summary
Constructors Constructor Description PixelImage(BufferedImage bufferedImage, AffineTransformType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BufferedImage
getImage()
double
getScale()
MutableImage
monochrome()
MutableImage
muteColor(Color newColor)
MutableImage
muteTransparentColor(Color newColor)
MutableImage
withScale(double scale)
-
-
-
Constructor Detail
-
PixelImage
public PixelImage(BufferedImage bufferedImage, AffineTransformType type)
-
-
Method Detail
-
withScale
public MutableImage withScale(double scale)
- Specified by:
withScale
in interfaceMutableImage
-
getImage
public final BufferedImage getImage()
- Specified by:
getImage
in interfaceMutableImage
-
monochrome
public MutableImage monochrome()
- Specified by:
monochrome
in interfaceMutableImage
-
muteColor
public MutableImage muteColor(Color newColor)
- Specified by:
muteColor
in interfaceMutableImage
-
muteTransparentColor
public MutableImage muteTransparentColor(Color newColor)
- Specified by:
muteTransparentColor
in interfaceMutableImage
-
getScale
public final double getScale()
- Specified by:
getScale
in interfaceMutableImage
-
-