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 |
---|---|
com.mindfusion.drawing.Brush |
getBackground()
Gets the text background.
|
com.mindfusion.drawing.Brush |
getBorderStroke()
Gets the border stroke.
|
com.mindfusion.drawing.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<com.mindfusion.drawing.FontStyle> |
getFontStyle()
Gets the font style.
|
com.mindfusion.drawing.Brush |
getTextBrush()
Gets a Brush used to draw text.
|
void |
setBackground(com.mindfusion.drawing.Brush value)
Sets the text background.
|
void |
setBorderStroke(com.mindfusion.drawing.Brush value)
Sets the border stroke.
|
void |
setBorderStrokeDashStyle(com.mindfusion.drawing.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<com.mindfusion.drawing.FontStyle> value)
Sets the font style.
|
void |
setTextBrush(com.mindfusion.drawing.Brush value)
Sets a Brush used to draw text.
|
public TextStyle()
TextStyle
class.public com.mindfusion.drawing.Brush getBackground()
Brush
-derived class.public void setBackground(com.mindfusion.drawing.Brush value)
value
- An instance of Brush
-derived class.public com.mindfusion.drawing.Brush getBorderStroke()
Brush
-derived class.public void setBorderStroke(com.mindfusion.drawing.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 com.mindfusion.drawing.DashStyle getBorderStrokeDashStyle()
DashStyle
specifying border dash style.public void setBorderStrokeDashStyle(com.mindfusion.drawing.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<com.mindfusion.drawing.FontStyle> getFontStyle()
public void setFontStyle(java.util.EnumSet<com.mindfusion.drawing.FontStyle> value)
value
- A FontStyle enumset specifying the font style.public com.mindfusion.drawing.Brush getTextBrush()
Brush
-derived class.public void setTextBrush(com.mindfusion.drawing.Brush value)
value
- An instance of Brush
-derived class.