extent, requestExtent, stroke
Constructor and Description |
---|
PxLine(int x,
int y,
int x2,
int y2,
Color color) |
PxLine(IPoint p,
IPoint p2,
Color color) |
Modifier and Type | Method and Description |
---|---|
Color |
c() |
Color |
c(Color color) |
void |
draw(Graphics2D g,
ViewPortData vp) |
void |
setStroke(Stroke stroke) |
int |
x() |
int |
x(int x) |
int |
x2() |
int |
x2(int x) |
int |
y() |
int |
y(int y) |
int |
y2() |
int |
y2(int y) |
public PxLine(int x, int y, int x2, int y2, Color color)
public int x2()
public int x2(int x)
public int y2()
public int y2(int y)
public void setStroke(Stroke stroke)
public void draw(Graphics2D g, ViewPortData vp)