AnyChart
API Reference
Still have questions?
Contact support
Top

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

Text segment.
NameTypeDescription
colorstring | 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).