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 TextView

    ru.biosoft.graphics.View
      |
      +--ru.biosoft.graphics.TextView

public class TextView
extends View

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

Constructor Summary
`TextView(String text, Point pt, int alignment, ColorFont font, Graphics graphics)`
`TextView(String text, ColorFont font, Graphics graphics)`

Method Summary
`Rectangle` | `getBounds()`
`Rectangle` | `getTextPos(int from, int to, FontMetrics fm)`
`void` | `initSize(Graphics graphics)`
`void` | `move(int x, int y)`
`void` | `paint(Graphics2D g)`

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

Constructor Detail

### TextView

    public TextView(String text, Point pt, int alignment, ColorFont font, Graphics graphics)

### TextView

    public TextView(String text, ColorFont font, Graphics graphics)

Method Detail

### getBounds

    public Rectangle getBounds()

### getTextPos

    public Rectangle getTextPos(int from, int to, FontMetrics fm)

### initSize

    public void initSize(Graphics graphics)

### move

    public void move(int x, int y)

### paint

    public void paint(Graphics2D g)

Association Links

to Class java.lang.String

to Class java.awt.Rectangle

to Class ru.biosoft.graphics.font.ColorFont

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

BOTTOM