|
||||||||||
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.DxfCircle
Entidad CIRCLE de un fichero DXF.
Field Summary |
Fields inherited from class org.cresques.px.PxObj |
extent, stroke |
Constructor Summary | |
DxfCircle(IProjection proj,
DxfLayer layer,
java.awt.geom.Point2D[] pts)
Constructor de DxfCircle. |
Method Summary | |
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. |
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 DxfCircle(IProjection proj, DxfLayer layer, java.awt.geom.Point2D[] pts)
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()
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |