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