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.4.0 version to see the up to date information.

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

Text segment.
NameTypeDescription
colorstring | goog.color.names | undefinedColor. https://www.w3schools.com/html/html_colors.asp.
decorationstring | undefinedDecoration. More at anychart.graphics.vector.Text.Decoration.
fontFamilystring | undefinedFont family. https://www.w3schools.com/cssref/pr_font_font-family.asp.
fontSizestring | number | undefinedFont size.
fontStylestring | undefinedFont style. More at anychart.graphics.vector.Text.FontStyle.
fontVariantstring | undefinedFont variant. More at anychart.graphics.vector.Text.FontVariant.
fontWeightnumber | string | undefinedFont weight. https://www.w3schools.com/cssref/pr_font_weight.asp.
letterSpacingstring | undefinedLetter spacing.
opacitynumber | undefinedColor opacity (0 to 1).