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