public class PxContour extends PxObj implements Projected
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
fName |
protected java.lang.String |
name |
extent, requestExtent, stroke
Constructor and Description |
---|
PxContour(Extent e,
java.lang.String fName,
java.lang.String name,
IProjection proj) |
PxContour(Hoja h) |
PxContour(java.awt.geom.Point2D[] v,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
_PxContour(java.awt.geom.Point2D[] v,
java.lang.String fName,
java.lang.String name) |
void |
_PxContour(java.awt.geom.Point2D pt1,
java.awt.geom.Point2D pt2,
java.lang.String fName,
java.lang.String name) |
java.awt.Color |
c() |
java.awt.Color |
c(java.awt.Color color) |
void |
draw(java.awt.Graphics2D g,
ViewPortData vp) |
void |
draw(java.awt.Graphics2D g,
ViewPortData vp,
ICoordTrans rp) |
java.awt.Color |
fillColor() |
java.awt.Color |
fillColor(java.awt.Color c) |
java.awt.Color |
getColor() |
java.awt.Color |
getFillColor() |
java.lang.String |
getName() |
IProjection |
getProjection()
Returns the current projection.
|
java.awt.geom.Point2D[] |
getPtList() |
java.util.Vector |
getVertex()
Vertices de un contorno.
|
void |
reProject(ICoordTrans rp)
Changes projection of the graphical information of this object.
|
void |
setColor(java.awt.Color color) |
void |
setFillColor(java.awt.Color color) |
void |
setProjection(IProjection p) |
public PxContour(Extent e, java.lang.String fName, java.lang.String name, IProjection proj)
public PxContour(Hoja h)
public PxContour(java.awt.geom.Point2D[] v, java.lang.String name)
public void _PxContour(java.awt.geom.Point2D pt1, java.awt.geom.Point2D pt2, java.lang.String fName, java.lang.String name)
public void _PxContour(java.awt.geom.Point2D[] v, java.lang.String fName, java.lang.String name)
public IProjection getProjection()
Projected
Returns the current projection.
getProjection
in interface Projected
Projected.reProject(ICoordTrans)
public void setProjection(IProjection p)
public java.util.Vector getVertex()
public java.awt.geom.Point2D[] getPtList()
public java.lang.String getName()
public java.awt.Color c()
public java.awt.Color c(java.awt.Color color)
public java.awt.Color fillColor()
public java.awt.Color fillColor(java.awt.Color c)
public void setColor(java.awt.Color color)
public java.awt.Color getColor()
public void setFillColor(java.awt.Color color)
public java.awt.Color getFillColor()
public void reProject(ICoordTrans rp)
Projected
Changes projection of the graphical information of this object.
reProject
in interface Projected
rp
- transformation coordinates for obtaining the new projectionProjected.getProjection()
public void draw(java.awt.Graphics2D g, ViewPortData vp, ICoordTrans rp)
public void draw(java.awt.Graphics2D g, ViewPortData vp)