|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TextRun
Some text.
| Nested Class Summary | |
|---|---|
static class |
TextRun.TextCap
|
| Method Summary | |
|---|---|
PaintStyle |
getFontColor()
Returns the font color. |
java.lang.String |
getFontFamily()
|
java.lang.Double |
getFontSize()
|
byte |
getPitchAndFamily()
|
java.lang.String |
getRawText()
|
TextRun.TextCap |
getTextCap()
|
boolean |
isBold()
|
boolean |
isItalic()
|
boolean |
isStrikethrough()
|
boolean |
isSubscript()
|
boolean |
isSuperscript()
|
boolean |
isUnderlined()
|
void |
setFontColor(java.awt.Color color)
Sets the (solid) font color - convenience function |
void |
setFontColor(PaintStyle color)
Sets the font color |
void |
setFontSize(java.lang.Double fontSize)
|
void |
setText(java.lang.String text)
|
| Method Detail |
|---|
java.lang.String getRawText()
void setText(java.lang.String text)
TextRun.TextCap getTextCap()
PaintStyle getFontColor()
PaintStyle.SolidPaint, but but also other classes are possible
DrawPaint.getPaint(java.awt.Graphics2D, PaintStyle),
PaintStyle.SolidPaint.getSolidColor(),
DrawPaint.applyColorTransform(ColorStyle)void setFontColor(java.awt.Color color)
color - the colorvoid setFontColor(PaintStyle color)
color - the colorDrawPaint.createSolidPaint(Color)java.lang.Double getFontSize()
void setFontSize(java.lang.Double fontSize)
fontSize - font size in points, if null the underlying fontsize will be unsetjava.lang.String getFontFamily()
boolean isBold()
boolean isItalic()
boolean isUnderlined()
boolean isStrikethrough()
boolean isSubscript()
boolean isSuperscript()
byte getPitchAndFamily()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||