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