Message HrzProtocol.TextSymbolElement
Defined in hrz/protocol/vector/symbol_repr.proto.
text: HrzProtocol.StringProperty
Controls the string that is displayed. Must be encoded in UTF-8.
font_size: HrzProtocol.FloatProperty
Controls the size of the text, by setting the size of an em.
text_color: HrzProtocol.ColorProperty
Controls the colour of the characters. Non-opaque colours can lead to visual artefacts, as it is not compatible with text composition from multiple glyphs.
outline_width: HrzProtocol.FloatProperty
Controls the width of the outline.
outline_width_unit: HrzProtocol.TextOutlineWidthUnit
Controls the unit of the outline width.
outline_color: HrzProtocol.ColorProperty
Controls the colour of the outline. Non-opaque colours can lead to visual artefacts, as it is not compatible with text composition from multiple glyphs.
alignment: HrzProtocol.TextAlignmentProperty
When a text comprises multiple lines, how the lines are aligned.
line_spacing: HrzProtocol.FloatProperty
How much vertically spaced apart lines are, as a multiple of the default value set by the font. Use a value of 1 for the default line spacing, values greater than 1 for taller spacing. Must be greater or equal to 0.
font_url: string
A URL to a TrueType, WOFF, or WOFF2 font file. This defines the appearance of the characters. Make sure the font contains the characters that are present in the feature property values. If no URL is provided, the default font will be used. (It only contains the most common Latin characters.)