AnyChart
API Reference
Still have questions?
Contact support
Top
You are looking at an outdated 7.4.1 version of this document. Switch to the 8.3.0 version to see the up to date information.

{typedef} anychart.graphics.vector.TextSegmentStyle Improve this Doc

Text segment.
Name Type Description
color string | goog.color.names | undefined Color. https://www.w3schools.com/html/html_colors.asp.
decoration string | undefined Decoration. More at anychart.graphics.vector.Text.Decoration.
fontFamily string | undefined Font family. https://www.w3schools.com/cssref/pr_font_font-family.asp.
fontSize string | number | undefined Font size.
fontStyle string | undefined Font style. More at anychart.graphics.vector.Text.FontStyle.
fontVariant string | undefined Font variant. More at anychart.graphics.vector.Text.FontVariant.
fontWeight number | string | undefined Font weight. https://www.w3schools.com/cssref/pr_font_weight.asp.
letterSpacing string | undefined Letter spacing.
opacity number | undefined Color opacity (0 to 1).