public interface HighlightColorSupport
XLSFTextRuns instances.
Spec Ref: 21.1.2.3.4 (ECMA-376-1 5th ed. Ecma Office Open XML Part 1 - Fundamentals And Markup Language Reference.pdf)| Modifier and Type | Method and Description |
|---|---|
PaintStyle |
getHighlightColor()
Returns the font highlight (background) color for this text run.
|
void |
setHighlightColor(Color color)
Sets the font highlight (background) color for this text run - convenience function
|
void |
setHighlightColor(PaintStyle color)
Set the highlight (background) color for this text run.
|
PaintStyle getHighlightColor()
PaintStyle.SolidPaint, or null if no highlight is set.DrawPaint.getPaint(java.awt.Graphics2D, PaintStyle),
PaintStyle.SolidPaint.getSolidColor()void setHighlightColor(PaintStyle color)
color - The highlight (background) color to set.DrawPaint.createSolidPaint(Color)void setHighlightColor(Color color)
color - The highlight (background) color to set.