public class MonoImage extends Image
| Modifier and Type | Field and Description |
|---|---|
boolean |
doClip
If set to true, the image's width is limited to 384 (double density) or 192 (single density).
|
alphaMask, comment, FADE_VALUE, height, hwScaleH, hwScaleW, NO_TRANSPARENT_COLOR, surfaceType, transparentColor, useAlpha, width| Constructor and Description |
|---|
MonoImage(byte[] fullDescription)
Creates a MonoImage based on the given full description.
|
MonoImage(Image other)
Makes a copy of the given image.
|
MonoImage(int width,
int height)
Creates a MonoImage with the given width and height.
|
MonoImage(Stream s)
Creates a MonoImage read from the given Stream.
|
MonoImage(java.lang.String path)
Creates a MonoImage, loading the given bmp file.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
printTo(BluetoothPrinter pad)
Prints a 1-bpp bitmap from this image.
|
applyChanges, applyColor, applyColor2, applyFade, changeColors, createJpg, createJpg4B, createPng, equals, getAlphaInstance, getClippedInstance, getCopy, getCurrentFrame, getFadedInstance, getFadedInstance, getFrameCount, getFrameInstance, getGraphics, getHeight, getHwScaledInstance, getJpegBestFit, getJpegScaled, getPath, getPixelRow, getPixels, getRotatedScaledInstance, getScaledInstance, getSmoothScaledInstance, getSmoothScaledInstance, getTouchedUpInstance, getWidth, getX, getY, hwScaledBy, hwScaledFixedAspectRatio, isSupported, loadFrom, lockChanges, nextFrame, prevFrame, resizeJpeg, saveTo, scaledBy, setCurrentFrame, setFrameCount, setHwScaleFixedAspectRatio, setTransparentColor, smoothScaledBy, smoothScaledBy, smoothScaledFixedAspectRatio, smoothScaledFixedAspectRatio, smoothScaledFromResolution, smoothScaledFromResolution, writeFrameCountpublic boolean doClip
public MonoImage(Image other) throws ImageException
ImageExceptionpublic MonoImage(Stream s) throws ImageException, IOException
ImageExceptionIOExceptionpublic MonoImage(byte[] fullDescription)
throws ImageException
ImageExceptionpublic MonoImage(int width,
int height)
throws ImageException
ImageExceptionpublic MonoImage(java.lang.String path)
throws ImageException,
IOException
ImageExceptionIOExceptionprotected void printTo(BluetoothPrinter pad) throws IOException
IOException