cz.cuni.jagrlib
Class VCommand.SetFillStyle

java.lang.Object
  extended by cz.cuni.jagrlib.VectorCommand
      extended by cz.cuni.jagrlib.VCommand.SetFillStyle
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
VCommand

public class VCommand.SetFillStyle
extends VectorCommand

Sets the actual fill style.

Since:
0.02
See Also:
VCommand.java, VCommand.Fill, VectorGraphics.setFillStyle(int), Serialized Form

Field Summary
 int style
          Fill style (uses VectorCommand.FILL_* constants).
 
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.SetFillStyle(int _style)
          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

style

public int style
Fill style (uses VectorCommand.FILL_* constants).

See Also:
VectorCommand.FILL_DUMMY
Constructor Detail

VCommand.SetFillStyle

public VCommand.SetFillStyle(int _style)
Initializing constructor.

Parameters:
_style - Fill style (use VectorCommand.FILL_* constant).
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

execute

public void execute(VectorGraphics out)
             throws BadInterfaceException
Executes the command on the given VectorGraphics interface.

Overrides:
execute in class VectorCommand
Parameters:
out - Output vector interface.
Throws:
BadInterfaceException
See Also:
VectorGraphics