Fields inherited from class org.kabeja.dxf.DXFEntity |
block, color, colorRGB, doc, extrusion, flags, id, layerID, lineType, linetypeScaleFactor, lineWeight, modelSpace, thickness, transparency, visibile |
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 |
insertPoint
protected Point insertPoint
rotation
protected double rotation
height
protected double height
scaleFactor
protected double scaleFactor
obliqueAngle
protected double obliqueAngle
name
protected java.lang.String name
DXFShape
public DXFShape()
toSAX
public void toSAX(org.xml.sax.ContentHandler handler,
java.util.Map svgContext,
DXFEntity entity,
TransformContext transformContext)
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
getBounds
public Bounds getBounds()
- Specified by:
getBounds
in class DXFEntity
getType
public java.lang.String getType()
- Specified by:
getType
in class DXFEntity
getHeight
public double getHeight()
- Returns:
- Returns the height.
setHeight
public void setHeight(double height)
- Parameters:
height
- The height to set.
getInsertPoint
public Point getInsertPoint()
- Returns:
- Returns the insertPoint.
setInsertPoint
public void setInsertPoint(Point insertPoint)
- Parameters:
insertPoint
- The insertPoint 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.
getObliqueAngle
public double getObliqueAngle()
- Returns:
- Returns the obliqueAngle.
setObliqueAngle
public void setObliqueAngle(double obliqueAngle)
- Parameters:
obliqueAngle
- The obliqueAngle to set.
getRotation
public double getRotation()
- Returns:
- Returns the rotation.
setRotation
public void setRotation(double rotation)
- Parameters:
rotation
- The rotation to set.
getScaleFactor
public double getScaleFactor()
- Returns:
- Returns the scaleFactor.
setScaleFactor
public void setScaleFactor(double scaleFactor)
- Parameters:
scaleFactor
- The scaleFactor 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: