Overview | Package | Class | Use | Tree | Help
| HEADER
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## ru.biosoft.graphics
Class PolygonView

    ru.biosoft.graphics.View
      |
      +--ru.biosoft.graphics.ShapeView
            |
            +--ru.biosoft.graphics.PolygonView

Direct Known Subclasses:
  PolylineView

public class PolygonView
extends ShapeView

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

Constructor Summary
`PolygonView(Pen pen, Brush brush)`
`PolygonView(Pen pen, Brush brush, int[] xpoints, int[] ypoints)`
`PolygonView(Pen pen, Brush brush, Polygon polygon)`

Method Summary
`void` | `addPoint(Point p)`
`void` | `addPoint(int x, int y)`
`void` | `move(int x, int y)`

Methods inherited from class ru.biosoft.graphics.ShapeView
`getBrush, getPen, paint, setToScale`

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

Constructor Detail

### PolygonView

    public PolygonView(Pen pen, Brush brush)

### PolygonView

    public PolygonView(Pen pen, Brush brush, int[] xpoints, int[] ypoints)

### PolygonView

    public PolygonView(Pen pen, Brush brush, Polygon polygon)

Method Detail

### addPoint

    public void addPoint(Point p)

### addPoint

    public void addPoint(int x, int y)

### move

    public void move(int x, int y)

Overview | Package | Class | Use | Tree | Help
| FOOTER
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

BOTTOM