|
Copyright 2013-01-06 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.monte.media.ilbm.ColorCycle
public abstract class ColorCycle
Base class for color cycling in an IFF ILBM image.
| Field Summary | |
|---|---|
protected boolean |
isActive
Whether the color cycle is active. |
protected boolean |
isBlended
Whether colors are blended into each other when shifted. |
protected int |
rate
Cycle rate. |
protected int |
timeScale
Time scale of the cycle rate. |
| Constructor Summary | |
|---|---|
ColorCycle(int rate,
int timeScale,
boolean isActive)
|
|
| Method Summary | |
|---|---|
protected java.lang.Object |
clone()
|
abstract void |
doCycle(int[] rgbs,
long time)
|
int |
getRate()
|
int |
getTimeScale()
|
boolean |
isActive()
|
boolean |
isBlended()
Returns true if colors are blended when shifted. |
void |
setBlended(boolean newValue)
Set to true to blend colors when they are shifted. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int rate
protected int timeScale
protected boolean isActive
protected boolean isBlended
| Constructor Detail |
|---|
public ColorCycle(int rate,
int timeScale,
boolean isActive)
| Method Detail |
|---|
public boolean isActive()
public int getRate()
public int getTimeScale()
public boolean isBlended()
public void setBlended(boolean newValue)
public abstract void doCycle(int[] rgbs,
long time)
protected java.lang.Object clone()
clone in class java.lang.Object
|
Copyright 2013-01-06 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||