org.kabeja.dxf
Class DXFHatch

java.lang.Object
  extended by org.kabeja.dxf.DXFEntity
      extended by org.kabeja.dxf.DXFHatch

public class DXFHatch
extends DXFEntity

Author:
Field Summary
 
Fields inherited from class org.kabeja.dxf.DXFEntity
block, color, colorRGB, doc, extrusion, flags, id, layerID, lineType, linetypeScaleFactor, lineWeight, modelSpace, thickness, transparency, visibile
 
Constructor Summary
DXFHatch()
           
 
Method Summary
 void addBoundaryLoop(HatchBoundaryLoop loop)
           
 int getAssociativityFlag()
           
 java.util.Iterator getBoundaryLoops()
           
 int getBoundaryPathCount()
           
 Bounds getBounds()
           
 int getDefinationLinesCount()
           
 int getDegenerateBoundaryPathCount()
           
 java.lang.String getDXFHatchPatternID()
           
 Point getElevationPoint()
           
 int getHatchStyle()
           
 double getLength()
          Returns the length of the entity or 0 if the entity has no length
 java.lang.String getName()
           
 double getOffsetVector()
           
 double getPatternAngle()
           
 double getPatternScale()
           
 double getPatternScaleSpacing()
           
 int getPatternType()
           
 double getPixelSize()
           
 int getSeedPointCount()
           
 java.lang.String getType()
           
 boolean isBoundaryAnnotation()
           
 boolean isGradientHatch()
           
 boolean isPatternDouble()
           
 boolean isSolid()
           
 void setAssociativityFlag(int associativityFlag)
           
 void setBoundaryAnnotation(boolean boundaryAnnotation)
           
 void setBoundaryPathCount(int boundaryPathCount)
           
 void setDefinationLinesCount(int definationLinesCount)
           
 void setDegenerateBoundaryPathCount(int degenerateBoundaryPathCount)
           
 void setDXFHatchPatternID(java.lang.String patternID)
           
 void setElevationPoint(Point elevationPoint)
           
 void setGradientHatch(boolean gradientHatch)
           
 void setHatchStyle(int hatchStyle)
           
 void setName(java.lang.String name)
           
 void setOffsetVector(double offsetVector)
           
 void setPatternAngle(double patternAngle)
           
 void setPatternDouble(boolean patternDouble)
           
 void setPatternScale(double patternScale)
           
 void setPatternScaleSpacing(double patternScaleSpacing)
           
 void setPatternType(int patternType)
           
 void setPixelSize(double pixelSize)
           
 void setSeedPointCount(int seedPointCount)
           
 void setSolid(boolean solid)
           
 
Methods inherited from class org.kabeja.dxf.DXFEntity
getColor, getColorRGB, getDXFDocument, getExtrusion, getFlags, getID, getLayerName, getLineType, getLinetypeScaleFactor, getLineWeight, getThickness, getTransparency, isBlockEntity, isModelSpace, isOmitLineType, isVisibile, setBlockEntity, setColor, setColorRGB, setDXFDocument, setExtrusion, setExtrusionX, setExtrusionY, setExtrusionZ, setFlags, setID, setLayerName, setLineType, setLinetypeScaleFactor, setLineWeight, setModelSpace, setThickness, setTransparency, setVisibile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DXFHatch

public DXFHatch()
Method Detail

getAssociativityFlag

public int getAssociativityFlag()
Returns:
Returns the associativityFlag.

setAssociativityFlag

public void setAssociativityFlag(int associativityFlag)
Parameters:
associativityFlag - The associativityFlag to set.

isBoundaryAnnotation

public boolean isBoundaryAnnotation()
Returns:
Returns the boundaryAnnotation.

setBoundaryAnnotation

public void setBoundaryAnnotation(boolean boundaryAnnotation)
Parameters:
boundaryAnnotation - The boundaryAnnotation to set.

getBoundaryPathCount

public int getBoundaryPathCount()
Returns:
Returns the boundaryPathCount.

setBoundaryPathCount

public void setBoundaryPathCount(int boundaryPathCount)
Parameters:
boundaryPathCount - The boundaryPathCount to set.

getDefinationLinesCount

public int getDefinationLinesCount()
Returns:
Returns the definationLinesCount.

setDefinationLinesCount

public void setDefinationLinesCount(int definationLinesCount)
Parameters:
definationLinesCount - The definationLinesCount to set.

getDegenerateBoundaryPathCount

public int getDegenerateBoundaryPathCount()
Returns:
Returns the degenerateBoundaryPathCount.

setDegenerateBoundaryPathCount

public void setDegenerateBoundaryPathCount(int degenerateBoundaryPathCount)
Parameters:
degenerateBoundaryPathCount - The degenerateBoundaryPathCount to set.

isGradientHatch

public boolean isGradientHatch()
Returns:
Returns the gradientHatch.

setGradientHatch

public void setGradientHatch(boolean gradientHatch)
Parameters:
gradientHatch - The gradientHatch to set.

getHatchStyle

public int getHatchStyle()
Returns:
Returns the hatchStyle.

setHatchStyle

public void setHatchStyle(int hatchStyle)
Parameters:
hatchStyle - The hatchStyle to set.

getName

public java.lang.String getName()
Returns:
Returns the name.

setName

public void setName(java.lang.String name)
Parameters:
name - The name to set.

getOffsetVector

public double getOffsetVector()
Returns:
Returns the offsetVector.

setOffsetVector

public void setOffsetVector(double offsetVector)
Parameters:
offsetVector - The offsetVector to set.

getPatternAngle

public double getPatternAngle()
Returns:
Returns the patternAngle.

setPatternAngle

public void setPatternAngle(double patternAngle)
Parameters:
patternAngle - The patternAngle to set.

isPatternDouble

public boolean isPatternDouble()
Returns:
Returns the patternDouble.

setPatternDouble

public void setPatternDouble(boolean patternDouble)
Parameters:
patternDouble - The patternDouble to set.

getPatternScaleSpacing

public double getPatternScaleSpacing()
Returns:
Returns the patternScaleSpacing.

setPatternScaleSpacing

public void setPatternScaleSpacing(double patternScaleSpacing)
Parameters:
patternScaleSpacing - The patternScaleSpacing to set.

getPatternType

public int getPatternType()
Returns:
Returns the patternType.

setPatternType

public void setPatternType(int patternType)
Parameters:
patternType - The patternType to set.

getPixelSize

public double getPixelSize()
Returns:
Returns the pixelSize.

setPixelSize

public void setPixelSize(double pixelSize)
Parameters:
pixelSize - The pixelSize to set.

getSeedPointCount

public int getSeedPointCount()
Returns:
Returns the seedPointCount.

setSeedPointCount

public void setSeedPointCount(int seedPointCount)
Parameters:
seedPointCount - The seedPointCount to set.

isSolid

public boolean isSolid()
Returns:
Returns the solid.

setSolid

public void setSolid(boolean solid)
Parameters:
solid - The solid to set.

addBoundaryLoop

public void addBoundaryLoop(HatchBoundaryLoop loop)

getBoundaryLoops

public java.util.Iterator getBoundaryLoops()

getBounds

public Bounds getBounds()
Specified by:
getBounds in class DXFEntity

getElevationPoint

public Point getElevationPoint()
Returns:
Returns the elevationPoint.

setElevationPoint

public void setElevationPoint(Point elevationPoint)
Parameters:
elevationPoint - The elevationPoint to set.

getType

public java.lang.String getType()
Specified by:
getType in class DXFEntity

getDXFHatchPatternID

public java.lang.String getDXFHatchPatternID()
Returns:
Returns the ID of the pattern (also called pattern name).

setDXFHatchPatternID

public void setDXFHatchPatternID(java.lang.String patternID)
Parameters:
patternID - The patternID to set.

getLength

public double getLength()
Description copied from class: DXFEntity
Returns the length of the entity or 0 if the entity has no length

Specified by:
getLength in class DXFEntity
Returns:

getPatternScale

public double getPatternScale()

setPatternScale

public void setPatternScale(double patternScale)