ru.biosoft.graphics
Class ShapeView
ru.biosoft.graphics.View
|
+--ru.biosoft.graphics.ShapeView
- Direct Known Subclasses:
- BoxView, EllipseView, PolygonView
- public abstract class ShapeView
- extends View
General shape view.
| Methods inherited from class ru.biosoft.graphics.View |
getBounds, getModel, getShape, intersects, isActive, isVisible, move, move, scale, setActive, setLocation, setLocation, setModel, setVisible, updateBounds |
ShapeView
public ShapeView(Shape shape, Pen pen, Brush brush)
getBrush
public Brush getBrush()
getPen
public Pen getPen()
paint
public void paint(Graphics2D g2)
setToScale
public void setToScale(double sx, double sy)
to Class ru.biosoft.graphics.Pen
to Class ru.biosoft.graphics.Brush
BOTTOM