com.iver.cit.jdwglib.dwg.objects
Class DwgAttdef
java.lang.Object
com.iver.cit.jdwglib.dwg.DwgObject
com.iver.cit.jdwglib.dwg.objects.DwgAttdef
- public class DwgAttdef
- extends DwgObject
The DwgAttdef class represents a DWG Attdef
- Author:
- jmorell
Methods inherited from class com.iver.cit.jdwglib.dwg.DwgObject |
getColor, getExtendedData, getGraphicData, getHandle, getLayerHandle, getLayerHandleCode, getLinetypeFlags, getMode, getNumReactors, getPlotstyleFlags, getSizeInBits, getSubEntityHandle, getType, getVersion, getXDicObjHandle, isGraphicsFlag, isNoLinks, readObjectHeaderV15, readObjectTailV15, setColor, setExtendedData, setGraphicData, setGraphicsFlag, setHandle, setLayerHandle, setLayerHandleCode, setLinetypeFlags, setMode, setNoLinks, setNumReactors, setPlotstyleFlags, setSizeInBits, setSubEntityHandle, setType, setVersion, setXDicObjHandle |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DwgAttdef
public DwgAttdef()
readDwgAttdefV15
public void readDwgAttdefV15(int[] data,
int offset)
throws java.lang.Exception
- Read an Attdef in the DWG format Version 15
- Parameters:
data
- Array of unsigned bytes obtained from the DWG binary fileoffset
- The current bit offset where the value begins
- Throws:
java.lang.Exception
- If an unexpected bit value is found in the DWG file. Occurs
when we are looking for LwPolylines.
clone
public java.lang.Object clone()
getAlignmentPoint
public java.awt.geom.Point2D getAlignmentPoint()
- Returns:
- Returns the alignmentPoint.
setAlignmentPoint
public void setAlignmentPoint(java.awt.geom.Point2D alignmentPoint)
- Parameters:
alignmentPoint
- The alignmentPoint to set.
getDataFlag
public int getDataFlag()
- Returns:
- Returns the dataFlag.
setDataFlag
public void setDataFlag(int dataFlag)
- Parameters:
dataFlag
- The dataFlag to set.
getElevation
public double getElevation()
- Returns:
- Returns the elevation.
setElevation
public void setElevation(double elevation)
- Parameters:
elevation
- The elevation to set.
getExtrusion
public double[] getExtrusion()
- Returns:
- Returns the extrusion.
setExtrusion
public void setExtrusion(double[] extrusion)
- Parameters:
extrusion
- The extrusion to set.
getFieldLength
public int getFieldLength()
- Returns:
- Returns the fieldLength.
setFieldLength
public void setFieldLength(int fieldLength)
- Parameters:
fieldLength
- The fieldLength to set.
getFlags
public int getFlags()
- Returns:
- Returns the flags.
setFlags
public void setFlags(int flags)
- Parameters:
flags
- The flags to set.
getGeneration
public int getGeneration()
- Returns:
- Returns the generation.
setGeneration
public void setGeneration(int generation)
- Parameters:
generation
- The generation to set.
getHalign
public int getHalign()
- Returns:
- Returns the halign.
setHalign
public void setHalign(int halign)
- Parameters:
halign
- The halign to set.
getHeight
public double getHeight()
- Returns:
- Returns the height.
setHeight
public void setHeight(double height)
- Parameters:
height
- The height to set.
getInsertionPoint
public java.awt.geom.Point2D getInsertionPoint()
- Returns:
- Returns the insertionPoint.
setInsertionPoint
public void setInsertionPoint(java.awt.geom.Point2D insertionPoint)
- Parameters:
insertionPoint
- The insertionPoint to set.
getObliqueAngle
public double getObliqueAngle()
- Returns:
- Returns the obliqueAngle.
setObliqueAngle
public void setObliqueAngle(double obliqueAngle)
- Parameters:
obliqueAngle
- The obliqueAngle to set.
getPrompt
public java.lang.String getPrompt()
- Returns:
- Returns the prompt.
setPrompt
public void setPrompt(java.lang.String prompt)
- Parameters:
prompt
- The prompt to set.
getRotationAngle
public double getRotationAngle()
- Returns:
- Returns the rotationAngle.
setRotationAngle
public void setRotationAngle(double rotationAngle)
- Parameters:
rotationAngle
- The rotationAngle to set.
getStyleHandle
public int getStyleHandle()
- Returns:
- Returns the styleHandle.
setStyleHandle
public void setStyleHandle(int styleHandle)
- Parameters:
styleHandle
- The styleHandle to set.
getTag
public java.lang.String getTag()
- Returns:
- Returns the tag.
setTag
public void setTag(java.lang.String tag)
- Parameters:
tag
- The tag to set.
getText
public java.lang.String getText()
- Returns:
- Returns the text.
setText
public void setText(java.lang.String text)
- Parameters:
text
- The text to set.
getThickness
public double getThickness()
- Returns:
- Returns the thickness.
setThickness
public void setThickness(double thickness)
- Parameters:
thickness
- The thickness to set.
getValign
public int getValign()
- Returns:
- Returns the valign.
setValign
public void setValign(int valign)
- Parameters:
valign
- The valign to set.
getWidthFactor
public double getWidthFactor()
- Returns:
- Returns the widthFactor.
setWidthFactor
public void setWidthFactor(double widthFactor)
- Parameters:
widthFactor
- The widthFactor to set.