| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | drawContent(Graphics2D
the graphics to draw into graphics)Overrides org. Implements org. draw any content within this shape (image, text, etc.). |
| public double | Returns: the vertical advance, i.e. the cumulative space occupied by the textpaint the paragraphs starting from top left (x,y) |
| protected TextShape | |
| public double | |
| public double | Returns: the height in pointsthe graphics context, which properties are to be copied, may be null oldGraphics)Compute the cumulative height occupied by the text |
| DrawTextShape | back to summary |
|---|---|
| public DrawTextShape(TextShape<?, ?> shape) | |
| drawContent | back to summary |
|---|---|
| public void drawContent(Graphics2D graphics) Overrides org. Implements org. Doc from org. draw any content within this shape (image, text, etc.).
| |
| drawParagraphs | back to summary |
|---|---|
| public double drawParagraphs(Graphics2D graphics, double x, double y) paint the paragraphs starting from top left (x,y)
| |
| getShape | back to summary |
|---|---|
| protected TextShape Overrides org.
| |
| getTextHeight | back to summary |
|---|---|
| public double getTextHeight() Compute the cumulative height occupied by the text
| |
| getTextHeight | back to summary |
|---|---|
| public double getTextHeight(Graphics2D oldGraphics) Compute the cumulative height occupied by the text
| |