HEADER

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.


Fields inherited from class ru.biosoft.graphics.View
ACTIVE, BASELINE, BOTTOM, CENTER, HIDE, LEFT, RIGHT, TOP

Constructor Summary
ShapeView(Shape shape, Pen pen, Brush brush)
           

Method Summary
 BrushgetBrush()
           
 PengetPen()
           
 voidpaint(Graphics2D g2)
           
 voidsetToScale(double sx, double sy)
           

Methods inherited from class ru.biosoft.graphics.View
getBounds, getModel, getShape, intersects, isActive, isVisible, move, move, scale, setActive, setLocation, setLocation, setModel, setVisible, updateBounds

Constructor Detail

ShapeView

public ShapeView(Shape shape, Pen pen, Brush brush)
Method Detail

getBrush

public Brush getBrush()

getPen

public Pen getPen()

paint

public void paint(Graphics2D g2)

setToScale

public void setToScale(double sx, double sy)

Association Links

to Class ru.biosoft.graphics.Pen

to Class ru.biosoft.graphics.Brush


FOOTER

BOTTOM