public class DXFShape extends DXFEntity
| Modifier and Type | Field and Description |
|---|---|
protected double |
height |
protected Point |
insertPoint |
protected java.lang.String |
name |
protected double |
obliqueAngle |
protected double |
rotation |
protected double |
scaleFactor |
block, color, colorRGB, doc, extrusion, flags, id, layerID, lineType, linetypeScaleFactor, lineWeight, modelSpace, thickness, transparency, visibile| Constructor and Description |
|---|
DXFShape() |
| Modifier and Type | Method and Description |
|---|---|
Bounds |
getBounds() |
double |
getHeight() |
Point |
getInsertPoint() |
double |
getLength()
Returns the length of the entity or 0 if the entity has no length
|
java.lang.String |
getName() |
double |
getObliqueAngle() |
double |
getRotation() |
double |
getScaleFactor() |
java.lang.String |
getType() |
void |
setHeight(double height) |
void |
setInsertPoint(Point insertPoint) |
void |
setName(java.lang.String name) |
void |
setObliqueAngle(double obliqueAngle) |
void |
setRotation(double rotation) |
void |
setScaleFactor(double scaleFactor) |
void |
toSAX(org.xml.sax.ContentHandler handler,
java.util.Map svgContext,
DXFEntity entity,
TransformContext transformContext) |
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, setVisibileprotected Point insertPoint
protected double rotation
protected double height
protected double scaleFactor
protected double obliqueAngle
protected java.lang.String name
public void toSAX(org.xml.sax.ContentHandler handler,
java.util.Map svgContext,
DXFEntity entity,
TransformContext transformContext)
throws org.xml.sax.SAXException
org.xml.sax.SAXExceptionpublic double getHeight()
public void setHeight(double height)
height - The height to set.public Point getInsertPoint()
public void setInsertPoint(Point insertPoint)
insertPoint - The insertPoint to set.public java.lang.String getName()
public void setName(java.lang.String name)
name - The name to set.public double getObliqueAngle()
public void setObliqueAngle(double obliqueAngle)
obliqueAngle - The obliqueAngle to set.public double getRotation()
public void setRotation(double rotation)
rotation - The rotation to set.public double getScaleFactor()
public void setScaleFactor(double scaleFactor)
scaleFactor - The scaleFactor to set.