{typedef} anychart.graphics.vector.TextStyle Improve this Doc
Format of style the text. May be applied to plain and html texts.
Name | Type | Description |
---|---|---|
color | string | undefined | Color. https://www.w3schools.com/html/html_colors.asp. |
decoration | anychart.graphics.vector.Text.Decoration | string | undefined | Read more at anychart.graphics.vector.Text.Decoration. |
direction | anychart.graphics.vector.Text.Direction | string | undefined | Read more at anychart.graphics.vector.Text.Direction. |
fontFamily | string | undefined | Font family https://www.w3schools.com/cssref/pr_font_font-family.asp. |
fontSize | string | number | undefined | Font size. More at anychart.graphics.vector.Text#fontSize. |
fontStyle | anychart.graphics.vector.Text.FontStyle | string | undefined | Read more at anychart.graphics.vector.Text.FontStyle. |
fontVariant | anychart.graphics.vector.Text.FontVariant | string | undefined | Read more at anychart.graphics.vector.Text.FontVariant. |
fontWeight | number | string | undefined | Font weight - https://www.w3schools.com/cssref/pr_font_weight.asp. |
hAlign | anychart.graphics.vector.Text.HAlign | string | undefined | hAling. More at anychart.graphics.vector.Text.HAlign. |
height | number | string | undefined | Text height. |
letterSpacing | string | undefined | Letter spacing of text. |
lineHeight | string | number | undefined | Line height. |
opacity | number | undefined | Color opacity (0 to 1). |
selectable | boolean | undefined | Whether text can be selected. |
textIndent | number | undefined | The text-indent property specifies the indentation of the first line in a text-block. |
textOverflow | anychart.graphics.vector.Text.TextOverflow | undefined | Text overflow. More at anychart.graphics.vector.Text.TextOverflow. |
vAlign | anychart.graphics.vector.Text.VAlign | string | undefined | vAlign. More at anychart.graphics.vector.Text.VAlign. |
width | number | string | undefined | Text width. |
wordBreak | string | undefined | Word break mode. More at anychart.graphics.vector.Text.WordBreak. |
wordWrap | string | undefined | Word wrap mode. More at anychart.graphics.vector.Text.WordWrap. |