ru.biosoft.graphics
Class LineView
ru.biosoft.graphics.View
|
+--ru.biosoft.graphics.LineView
- public class LineView
- extends View
| Constructor Summary |
LineView(Pen pen, Point2D pt0, Point2D pt1) |
LineView(Pen pen, float X1, float Y1, float X2, float Y2) |
| Methods inherited from class ru.biosoft.graphics.View |
getModel, getShape, intersects, isActive, isVisible, move, scale, setActive, setLocation, setLocation, setModel, setVisible, updateBounds |
LineView
public LineView(Pen pen, Point2D pt0, Point2D pt1)
LineView
public LineView(Pen pen, float X1, float Y1, float X2, float Y2)
getBounds
public Rectangle getBounds()
move
public void move(int sx, int sy)
paint
public void paint(Graphics2D g2)
setToScale
public void setToScale(double sx, double sy)
to Class ru.biosoft.graphics.Pen
BOTTOM