|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcz.cuni.jagrlib.VectorCommand
public abstract class VectorCommand
Abstract VectorGraphics command - represents one atomic command which
is consumed by vector graphics interpreters.
interface VectorGraphics,
Serialized Form| Field Summary | |
|---|---|
int |
FILL_CALLBACK
Callback fill style. |
int |
FILL_DUMMY
Dummy fill style (no drawing is actually done). |
int |
FILL_HATCHL
\-Hatched fill style (angle = -45 degrees). |
int |
FILL_HATCHR
/-Hatched fill style (angle = 45 degrees). |
int |
FILL_SOLID
Solid fill style. |
int |
LINE_CALLBACK
Callback line style. |
int |
LINE_DASH
Dashed line style (length(dash) = length(gap)). |
int |
LINE_DASHDOT
Dash-dotted line style ("dot-gap-dash-gap" pattern). |
int |
LINE_DOT
Dotted line style (length(dot) = length(gap)/4). |
int |
LINE_DUMMY
Dummy line style (no drawing is actually done). |
int |
LINE_SOLID
Solid line style (continuous line). |
| Constructor Summary | |
|---|---|
VectorCommand()
|
|
| Method Summary | |
|---|---|
void |
execute(VectorGraphics out)
Executes the command on the given VectorGraphics interface. |
void |
transform(java.awt.geom.AffineTransform t)
Transforms the command using the given AffineTransform. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final int LINE_DUMMY
public final int LINE_CALLBACK
VCommand.SetLineStyle,
VectorGraphics.setLineCallback(cz.cuni.jagrlib.iface.StrokeCallback),
Constant Field Valuespublic final int LINE_SOLID
public final int LINE_DASH
public final int LINE_DOT
public final int LINE_DASHDOT
public final int FILL_DUMMY
public final int FILL_CALLBACK
VCommand.SetFillStyle,
VectorGraphics.setFillCallback(cz.cuni.jagrlib.iface.FillCallback),
Constant Field Valuespublic final int FILL_SOLID
public final int FILL_HATCHR
public final int FILL_HATCHL
| Constructor Detail |
|---|
public VectorCommand()
| Method Detail |
|---|
public void transform(java.awt.geom.AffineTransform t)
t - Affine transformation (3x2 matrix of doubles) or null.
public void execute(VectorGraphics out)
throws BadInterfaceException
VectorGraphics interface.
out - Output vector interface.
BadInterfaceExceptionVectorGraphics
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||