public class DxfSolid extends DxfEntity
extent, requestExtent, stroke
Constructor and Description |
---|
DxfSolid(IProjection proj,
DxfLayer layer,
Point2D[] pts)
Constructor de DxfSolid.
|
Modifier and Type | Method and Description |
---|---|
Color |
c()
Devuelve el color del DxfSolid.
|
Color |
c(Color color)
Establece el color del DxfSolid.
|
void |
draw(Graphics2D g,
ViewPortData vp)
Permite dibujar un DxfSolid.
|
Point2D[] |
getPts()
Devuelve el array de puntos que conforman el DxfSolid.
|
void |
reProject(ICoordTrans rp)
Permite reproyectar un DxfSolid dado un conjunto de coordenadas de transformaci�n.
|
String |
toDxfString()
Permite la escritura de entidades en un fichero DXF2000.
|
getColor, getHandle, getLayer, getLayerName, getProjection, setHandle, setProjection
public DxfSolid(IProjection proj, DxfLayer layer, Point2D[] pts)
proj,
- proyecci�n cartogr�fica en la que se encuentra el DxfSolid.layer,
- capa del DXF en la que se encuentra el DxfSolid.pts,
- puntos 2D que componen el DxfSolid.public Color c()
public void reProject(ICoordTrans rp)
reProject
in interface Projected
reProject
in class DxfEntity
rp,
- coordenadas de transformaci�n.Projected.getProjection()
public void draw(Graphics2D g, ViewPortData vp)
public String toDxfString()
DxfEntity
toDxfString
in class DxfEntity
public Point2D[] getPts()