org.cresques.px.dxf
Class DxfEntity
java.lang.Object
org.cresques.px.PxObj
org.cresques.px.dxf.DxfEntity
- All Implemented Interfaces:
- Drawable, Extent.Has, Projected
- Direct Known Subclasses:
- DxfArc, DxfAttrib, DxfCircle, DxfEllipse, DxfInsert, DxfLine, DxfPoint, DxfPolyline, DxfSolid, DxfText
- public abstract class DxfEntity
- extends PxObj
- implements Projected
Clase ancestro para las entidades de dxf
jmorell: Implementación del handle imprescindible para el formato DXF2000.
- Author:
- "Luis W. Sevilla"
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.cresques.px.Drawable |
draw |
DxfEntity
public DxfEntity(IProjection proj,
DxfLayer layer)
setProjection
public void setProjection(IProjection p)
getProjection
public IProjection getProjection()
- Specified by:
getProjection
in interface Projected
reProject
public abstract void reProject(ICoordTrans ct)
- Specified by:
reProject
in interface Projected
getLayerName
public java.lang.String getLayerName()
getColor
public java.lang.String getColor()
toDxfString
public abstract java.lang.String toDxfString()
getHandle
public int getHandle()
- Returns:
- Returns the handle.
setHandle
public void setHandle(int handle)
- Parameters:
handle
- The handle to set.
getLayer
public DxfLayer getLayer()
- Método creado para facilitar la implementación de los ATTRIBS en el piloto.
- Returns: