|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.cresques.px.PxObj org.cresques.px.dxf.DxfEntity org.cresques.px.dxf.DxfLine
Entidad LINE de un fichero DXF.
Field Summary |
Fields inherited from class org.cresques.px.PxObj |
extent, stroke |
Constructor Summary | |
DxfLine(IProjection proj,
DxfLayer layer,
java.awt.geom.Point2D p1,
java.awt.geom.Point2D p2)
Constructor de DxfLine. |
Method Summary | |
java.awt.Color |
c()
Devuelve el color de la DxfLine. |
java.awt.Color |
c(java.awt.Color color)
Establece el color de la DxfLine. |
void |
draw(java.awt.Graphics2D g,
ViewPortData vp)
Permite dibujar una DxfLine. |
java.awt.geom.Point2D[] |
getPts()
Devuelve el array de puntos que conforman el DxfLine. |
void |
reProject(ICoordTrans rp)
Permite reproyectar una DxfLine dado un conjunto de coordenadas de transformación. |
java.lang.String |
toDxfString()
Permite la escritura de entidades DxfLine en un fichero DXF2000. |
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 |
public DxfLine(IProjection proj, DxfLayer layer, java.awt.geom.Point2D p1, java.awt.geom.Point2D p2)
Method Detail |
public java.awt.Color c()
public java.awt.Color c(java.awt.Color color)
color
-
public void reProject(ICoordTrans rp)
reProject
in interface Projected
reProject
in class DxfEntity
public void draw(java.awt.Graphics2D g, ViewPortData vp)
public java.lang.String toDxfString()
toDxfString
in class DxfEntity
public java.awt.geom.Point2D[] getPts()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |