org.cresques.px.dxf
Class DxfAttrib

java.lang.Object
  extended byorg.cresques.px.PxObj
      extended byorg.cresques.px.dxf.DxfEntity
          extended byorg.cresques.px.dxf.DxfAttrib
All Implemented Interfaces:
Drawable, Extent.Has, Projected

public class DxfAttrib
extends DxfEntity

Entidad ATTRIB de un fichero DXF.

Author:
jmorell

Field Summary
 
Fields inherited from class org.cresques.px.PxObj
extent, stroke
 
Constructor Summary
DxfAttrib(IProjection proj, DxfLayer layer)
          Constructor de DxfAttrib.
 
Method Summary
 void draw(java.awt.Graphics2D g, ViewPortData vp)
          Permite dibujar un DxfAttrib.
 java.awt.geom.Point2D getPt()
           
 void reProject(ICoordTrans rp)
          Permite reproyectar un DxfAttrib dado un conjunto de coordenadas de transformación.
 void setPt(java.awt.geom.Point2D pt)
          Establece el punto de inserción del DxfAttrib.
 java.lang.String toDxfString()
          050406, jmorell: Implementación parcial.
 
Methods inherited from class org.cresques.px.dxf.DxfEntity
getColor, getHandle, getLayer, getLayerName, getProjection, setHandle, setProjection
 
Methods inherited from class org.cresques.px.PxObj
getExtent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DxfAttrib

public DxfAttrib(IProjection proj,
                 DxfLayer layer)
Constructor de DxfAttrib.

Method Detail

setPt

public void setPt(java.awt.geom.Point2D pt)
Establece el punto de inserción del DxfAttrib.


reProject

public void reProject(ICoordTrans rp)
Permite reproyectar un DxfAttrib dado un conjunto de coordenadas de transformación.

Specified by:
reProject in interface Projected
Specified by:
reProject in class DxfEntity

draw

public void draw(java.awt.Graphics2D g,
                 ViewPortData vp)
Permite dibujar un DxfAttrib.


toDxfString

public java.lang.String toDxfString()
050406, jmorell: Implementación parcial. Está para DxfPoint. Falta hacerlo para un DxfAttrib ...

Specified by:
toDxfString in class DxfEntity
Returns:
String, la cadena que se escribirá en el fichero con la información de la correspondiente entidad.

getPt

public java.awt.geom.Point2D getPt()
Returns:
Returns the pt.