|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectscenic.SceneNode
scenic.SceneLeaf
scenic.Brush
scenic.Gradient
public class Gradient
This brush paints a gradient.
| Field Summary | |
|---|---|
static int |
CONICAL
|
static int |
LINEAR
|
static int |
RADIAL
|
static int |
SQUARE
|
| Constructor Summary | |
|---|---|
Gradient()
Constructs a gradient. |
|
| Method Summary | |
|---|---|
ColorFunction |
getFunction()
Gets the color function. |
java.awt.geom.AffineTransform |
getTransform()
Gets the transformation of the pattern. |
int |
getType()
Gets the type of the gradient. |
void |
setFunction(ColorFunction function)
Sets the color function. |
void |
setTransform(java.awt.geom.AffineTransform transform)
Sets the transformation of the pattern. |
void |
setType(int type)
Sets the type of the gradient. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int LINEAR
public static final int RADIAL
public static final int SQUARE
public static final int CONICAL
| Constructor Detail |
|---|
public Gradient()
| Method Detail |
|---|
public int getType()
public void setType(int type)
public ColorFunction getFunction()
public void setFunction(ColorFunction function)
public java.awt.geom.AffineTransform getTransform()
public void setTransform(java.awt.geom.AffineTransform transform)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||