public class ColorCyclingMemoryImageSource
extends java.awt.image.MemoryImageSource
| Constructor and Description |
|---|
ColorCyclingMemoryImageSource(int w,
int h,
java.awt.image.ColorModel cm,
byte[] pix,
int off,
int scan) |
ColorCyclingMemoryImageSource(int w,
int h,
java.awt.image.ColorModel cm,
byte[] pix,
int off,
int scan,
java.util.Hashtable<?,?> props) |
ColorCyclingMemoryImageSource(int w,
int h,
java.awt.image.ColorModel cm,
int[] pix,
int off,
int scan) |
ColorCyclingMemoryImageSource(int w,
int h,
java.awt.image.ColorModel cm,
int[] pix,
int off,
int scan,
java.util.Hashtable<?,?> props) |
| Modifier and Type | Method and Description |
|---|---|
void |
addColorCycle(ColorCycle cc) |
void |
addConsumer(java.awt.image.ImageConsumer ic) |
java.awt.image.ColorModel |
getColorModel() |
int |
getHeight() |
java.util.Hashtable |
getProperties() |
int |
getWidth() |
boolean |
isBlendedColorCycling() |
boolean |
isColorCyclingAvailable() |
boolean |
isColorCyclingStarted() |
boolean |
isStarted() |
void |
newPixels(byte[] newpix,
java.awt.image.ColorModel newmodel,
int offset,
int scansize) |
void |
newPixels(int[] newpix,
java.awt.image.ColorModel newmodel,
int offset,
int scansize) |
void |
putProperties(java.util.Hashtable props) |
void |
removeConsumer(java.awt.image.ImageConsumer ic) |
void |
setAnimated(boolean b) |
void |
setBlendedColorCycling(boolean newValue) |
void |
setColorCyclingStarted(boolean b) |
void |
start() |
void |
stop() |
java.awt.image.BufferedImage |
toBufferedImage() |
public ColorCyclingMemoryImageSource(int w,
int h,
java.awt.image.ColorModel cm,
byte[] pix,
int off,
int scan)
public ColorCyclingMemoryImageSource(int w,
int h,
java.awt.image.ColorModel cm,
byte[] pix,
int off,
int scan,
java.util.Hashtable<?,?> props)
public ColorCyclingMemoryImageSource(int w,
int h,
java.awt.image.ColorModel cm,
int[] pix,
int off,
int scan)
public ColorCyclingMemoryImageSource(int w,
int h,
java.awt.image.ColorModel cm,
int[] pix,
int off,
int scan,
java.util.Hashtable<?,?> props)
public int getWidth()
public int getHeight()
public java.awt.image.ColorModel getColorModel()
public java.util.Hashtable getProperties()
public void newPixels(byte[] newpix,
java.awt.image.ColorModel newmodel,
int offset,
int scansize)
newPixels in class java.awt.image.MemoryImageSourcepublic void newPixels(int[] newpix,
java.awt.image.ColorModel newmodel,
int offset,
int scansize)
newPixels in class java.awt.image.MemoryImageSourcepublic void addColorCycle(ColorCycle cc)
public void addConsumer(java.awt.image.ImageConsumer ic)
addConsumer in interface java.awt.image.ImageProduceraddConsumer in class java.awt.image.MemoryImageSourcepublic void removeConsumer(java.awt.image.ImageConsumer ic)
removeConsumer in interface java.awt.image.ImageProducerremoveConsumer in class java.awt.image.MemoryImageSourcepublic void setAnimated(boolean b)
setAnimated in class java.awt.image.MemoryImageSourcepublic void setColorCyclingStarted(boolean b)
public boolean isColorCyclingStarted()
public void start()
public void stop()
public boolean isStarted()
public java.awt.image.BufferedImage toBufferedImage()
public boolean isColorCyclingAvailable()
public void putProperties(java.util.Hashtable props)
public void setBlendedColorCycling(boolean newValue)
public boolean isBlendedColorCycling()
Copyright © 2022. All Rights Reserved.