public class TextStyle
extends java.lang.Object
| Constructor and Description |
|---|
TextStyle()
Initializes a new instance of the
TextStyle class. |
| Modifier and Type | Method and Description |
|---|---|
Brush |
getBackground()
Gets the text background.
|
Brush |
getBorderStroke()
Gets the border stroke.
|
DashStyle |
getBorderStrokeDashStyle()
Gets the border stroke dash style.
|
java.lang.Double |
getBorderStrokeThickness()
Gets the border stroke thickness.
|
java.lang.String |
getFontName()
Gets the font name.
|
java.lang.Double |
getFontSize()
Gets the font size.
|
java.util.EnumSet<FontStyle> |
getFontStyle()
Gets the font style.
|
Brush |
getTextBrush()
Gets a Brush used to draw text.
|
void |
setBackground(Brush value)
Sets the text background.
|
void |
setBorderStroke(Brush value)
Sets the border stroke.
|
void |
setBorderStrokeDashStyle(DashStyle value)
Sets the border stroke dash style.
|
void |
setBorderStrokeThickness(java.lang.Double value)
Sets the border stroke thickness.
|
void |
setFontName(java.lang.String value)
Sets the font name.
|
void |
setFontSize(java.lang.Double value)
Sets the font size.
|
void |
setFontStyle(java.util.EnumSet<FontStyle> value)
Sets the font style.
|
void |
setTextBrush(Brush value)
Sets a Brush used to draw text.
|
public TextStyle()
TextStyle class.public Brush getBackground()
Brush -derived class.public void setBackground(Brush value)
value - An instance of Brush -derived class.public Brush getBorderStroke()
Brush -derived class.public void setBorderStroke(Brush value)
value - An instance of Brush -derived class.public java.lang.Double getBorderStrokeThickness()
public void setBorderStrokeThickness(java.lang.Double value)
value - A Double value specifying stroke thickness.public DashStyle getBorderStrokeDashStyle()
DashStyle specifying border dash style.public void setBorderStrokeDashStyle(DashStyle value)
value - A DashStyle specifying border dash style.public java.lang.String getFontName()
public void setFontName(java.lang.String value)
value - A String containing font name.public java.lang.Double getFontSize()
public void setFontSize(java.lang.Double value)
value - A Double value specifying font size.public java.util.EnumSet<FontStyle> getFontStyle()
public void setFontStyle(java.util.EnumSet<FontStyle> value)
value - A FontStyle enumset specifying the font style.public Brush getTextBrush()
Brush -derived class.