| Modifier and Type | Field and Description |
|---|---|
| pack-priv final TextLayout | |
| pack-priv final AttributedString | |
| pack-priv double | |
| pack-priv double |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | applyTransform(Graphics2D
the graphics whose transform matrix will be modified graphics)Implements org. Apply 2-D transforms before drawing this shape. |
| public void | draw(Graphics2D
the graphics to draw into graphics)Implements org. Draw this shape into the supplied canvas |
| public void | drawContent(Graphics2D
the graphics to draw into graphics)Implements org. draw any content within this shape (image, text, etc.). |
| public AttributedString | |
| public float | |
| public TextLayout | |
| public float | |
| public String | |
| public float | |
| private void | |
| public void | |
| public String |
| layout | back to summary |
|---|---|
| pack-priv final TextLayout layout | |
| str | back to summary |
|---|---|
| pack-priv final AttributedString str | |
| x | back to summary |
|---|---|
| pack-priv double x | |
| y | back to summary |
|---|---|
| pack-priv double y | |
| DrawTextFragment | back to summary |
|---|---|
| public DrawTextFragment(TextLayout layout, AttributedString str) | |
| applyTransform | back to summary |
|---|---|
| public void applyTransform(Graphics2D graphics) Implements org. Doc from org. Apply 2-D transforms before drawing this shape. This includes rotation and flipping.
| |
| draw | back to summary |
|---|---|
| public void draw(Graphics2D graphics) Implements org. Doc from org. Draw this shape into the supplied canvas
| |
| drawContent | back to summary |
|---|---|
| public void drawContent(Graphics2D graphics) Implements org. Doc from org. draw any content within this shape (image, text, etc.).
| |
| getAttributedString | back to summary |
|---|---|
| public AttributedString getAttributedString() | |
| getHeight | back to summary |
|---|---|
public float getHeight()
| |
| getLayout | back to summary |
|---|---|
| public TextLayout getLayout() | |
| getLeading | back to summary |
|---|---|
public float getLeading()
| |
| getString | back to summary |
|---|---|
public String getString()
| |
| getWidth | back to summary |
|---|---|
public float getWidth()
| |
| replaceForgroundPaintWithBlack | back to summary |
|---|---|
| private void replaceForgroundPaintWithBlack(AttributedString as) | |
| setPosition | back to summary |
|---|---|
| public void setPosition(double x, double y) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |