ach.vectorGraphics
Class TextShape
- public class TextShape
- extends Shape
- Überschrift: Tiffy Beschreibung: Text shape (vector graphics object) Copyright: Copyright (c) 1998-2004 Organisation: Art&Computer Hackbarth
- Version:
- 3.0
- Author:
- Helge Hackbarth
moveRel
public void moveRel(double dx,
double dy)
- move in original (floating) coordinates
getFontHeight
int getFontHeight()
- Returns fontSize in target units.
- Returns:
- fontSize in target units.
getSrcHeight
double getSrcHeight()
- Returns height of all text lines in source (original) units.
- Returns:
- height of all text lines in source (original) units.
getHeight
int getHeight()
- Returns height of all text lines in target units.
- Returns:
- height of all text lines in target units.
getSrcWidth
double getSrcWidth()
- Returns estimated width of unrotated, longest text line in source (original) units.
- Returns:
- estimated width of unrotated, longest text line in source (original) units.
getWidth
int getWidth()
- Returns estimated width of longest text line in target units.
- Returns:
- estimated width of longest text line in target units.
getBounds
public Rectangle getBounds()
- Calulate bounding rectangle in target coordinates
- Returns:
- bounding rectangle in target coordinates