com.partnersoft.io.formats.dxf
Class DXFEllipse

java.lang.Object
  extended by com.partnersoft.io.formats.dxf.DXFEntity
      extended by com.partnersoft.io.formats.dxf.DXFGraphic
          extended by com.partnersoft.io.formats.dxf.DXFEllipse
All Implemented Interfaces:
DXFGroupActor

public class DXFEllipse
extends DXFGraphic

A DXF ellipse entity.

Author:
Paul Reavis Copyright 2000 Partner Software, Inc.

Field Summary
 float centerX
           
 float centerY
           
 float endAngle
           
 float endpointX
           
 float endpointY
           
 float ratio
           
 float startAngle
           
 
Fields inherited from class com.partnersoft.io.formats.dxf.DXFGraphic
color, dbConnectID, dbConnectType, extendedData, layerName, linetypeName, originalLayerName, xDictionaryHandle
 
Fields inherited from class com.partnersoft.io.formats.dxf.DXFEntity
appGroupName, handle, insideAppGroup
 
Constructor Summary
DXFEllipse()
           
 
Method Summary
 void copyStateFrom(DXFEntity nother)
          Copies the attributes from the given DXFEntity.
 void processGroup(int code, DXFProtoValue value)
          Acts on groups; interprets them and populates properties.
 void resetToDefaults()
          Resets all values to defaults; useful when reusing objects.
 java.lang.String toString()
           
 
Methods inherited from class com.partnersoft.io.formats.dxf.DXFEntity
begin, clone, end
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

centerX

public float centerX

centerY

public float centerY

endpointX

public float endpointX

endpointY

public float endpointY

ratio

public float ratio

startAngle

public float startAngle

endAngle

public float endAngle
Constructor Detail

DXFEllipse

public DXFEllipse()
Method Detail

resetToDefaults

public void resetToDefaults()
Resets all values to defaults; useful when reusing objects.

Overrides:
resetToDefaults in class DXFGraphic

processGroup

public void processGroup(int code,
                         DXFProtoValue value)
Acts on groups; interprets them and populates properties.

Specified by:
processGroup in interface DXFGroupActor
Overrides:
processGroup in class DXFGraphic

toString

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

copyStateFrom

public void copyStateFrom(DXFEntity nother)
Description copied from class: DXFEntity
Copies the attributes from the given DXFEntity. Subclasses should implement this, but call it as well:
 public void copyState(DXFEntity nother) {
    super.copyStateFrom(nother);
    someState = nother.someState;
    ....
 

Overrides:
copyStateFrom in class DXFGraphic