|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sencha.gxt.chart.client.draw.Stop
public class Stop
Represents a gradient stop.
| Constructor Summary | |
|---|---|
Stop()
Creates a stop with the default values. |
|
Stop(int offset,
Color color)
Creates a stop using the given offset and color. |
|
Stop(int offset,
Color color,
double opacity)
Creates a stop using the given offset, color and opacity. |
|
| Method Summary | |
|---|---|
Color |
getColor()
Returns the color of the stop. |
int |
getOffset()
Returns the offset of the stop. |
double |
getOpacity()
Returns the opacity of the stop. |
void |
setColor(Color color)
Sets the color of the stop. |
void |
setOffset(int offset)
Sets the offset of the stop. |
void |
setOpacity(double opacity)
Sets the opacity of the stop |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Stop()
public Stop(int offset,
Color color)
offset - the offset of the stopcolor - the color of the stop
public Stop(int offset,
Color color,
double opacity)
offset - the offset of the stopcolor - the color of the stopopacity - the opacity of the stop| Method Detail |
|---|
public Color getColor()
public int getOffset()
public double getOpacity()
public void setColor(Color color)
color - the color of the stoppublic void setOffset(int offset)
offset - the offset of the stoppublic void setOpacity(double opacity)
opacity - the opacity of the stop
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||