net.sf.jcgm.core
Class CircularArcCentre

java.lang.Object
  extended by net.sf.jcgm.core.Command
      extended by net.sf.jcgm.core.CircularArcCentre
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
CircularArcCentreClose

public class CircularArcCentre
extends Command

Class=4, Element=15

Version:
$Id: CircularArcCentre.java 46 2011-12-14 08:26:44Z phica $
Author:
xphc (Philippe Cadé), BBNT Solutions

Field Summary
protected  java.awt.geom.Point2D.Double center
           
protected  double endDeltaX
           
protected  double endDeltaY
           
protected  double radius
           
protected  java.awt.geom.Arc2D.Double shape
           
protected  double startDeltaX
           
protected  double startDeltaY
           
 
Fields inherited from class net.sf.jcgm.core.Command
args, currentArg
 
Constructor Summary
CircularArcCentre(int ec, int eid, int l, java.io.DataInput in)
           
 
Method Summary
 void paint(CGMDisplay d)
           
 java.lang.String toString()
           
 
Methods inherited from class net.sf.jcgm.core.Command
alignOnWord, clone, getElementClass, getElementCode, info, makeByte, makeChar, makeColorIndex, makeColorIndex, makeDirectColor, makeEnum, makeFixedPoint, makeFixedString, makeFloat32, makeFloatingPoint, makeFloatingPoint32, makeIndex, makeInt, makeName, makePoint, makeReal, makeSDR, makeSignedInt16, makeSignedInt24, makeSignedInt32, makeSignedInt8, makeSizeSpecification, makeString, makeUInt, makeVc, makeVdc, printShape, read, readCommand, sizeOfDirectColor, sizeOfEnum, sizeOfInt, sizeOfPoint, sizeOfVdc, unimplemented, unsupported
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

center

protected java.awt.geom.Point2D.Double center

startDeltaX

protected double startDeltaX

startDeltaY

protected double startDeltaY

endDeltaX

protected double endDeltaX

endDeltaY

protected double endDeltaY

radius

protected double radius

shape

protected java.awt.geom.Arc2D.Double shape
Constructor Detail

CircularArcCentre

public CircularArcCentre(int ec,
                         int eid,
                         int l,
                         java.io.DataInput in)
                  throws java.io.IOException
Throws:
java.io.IOException
Method Detail

paint

public void paint(CGMDisplay d)
Overrides:
paint in class Command

toString

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


Part of the jcgm library http://jcgm.sourceforge.net/