|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcz.cuni.jagrlib.VectorCommand
cz.cuni.jagrlib.VCommand.SetColor
public class VCommand.SetColor
Sets the actual drawing color (optionally with alpha-component).
VCommand.Stroke,
VCommand.Fill,
VectorGraphics.setColor(double[]),
Serialized Form| Field Summary | |
|---|---|
double[] |
color
Color components Gr[A] or RGB[A] (each component lies between 0.0 and 1.0). |
| Fields inherited from class cz.cuni.jagrlib.VectorCommand |
|---|
FILL_CALLBACK, FILL_DUMMY, FILL_HATCHL, FILL_HATCHR, FILL_SOLID, LINE_CALLBACK, LINE_DASH, LINE_DASHDOT, LINE_DOT, LINE_DUMMY, LINE_SOLID |
| Constructor Summary | |
|---|---|
VCommand.SetColor(double[] _color)
Initializing constructor. |
|
| Method Summary | |
|---|---|
void |
execute(VectorGraphics out)
Executes the command on the given VectorGraphics interface. |
java.lang.String |
toString()
|
| Methods inherited from class cz.cuni.jagrlib.VectorCommand |
|---|
transform |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public double[] color
0.0 and 1.0).
| Constructor Detail |
|---|
public VCommand.SetColor(double[] _color)
_color - Color (Gr[A] or RGB[A]).| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Object
public void execute(VectorGraphics out)
throws BadInterfaceException
VectorGraphics interface.
execute in class VectorCommandout - Output vector interface.
BadInterfaceExceptionVectorGraphics
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||