Skip To Content ArcGIS for Developers Sign In Dashboard

Web Scene Specification

font

Font used for text symbols.

Referenced by: TextSymbol3DLayer

Properties

Property Details
decoration The text decoration.
If property is present, must be one of the following values:
  • line-through
  • none
  • underline
family The font family.
size The font size in points. Ignored when font is used on TextSymbol3DLayer.
style The text style.
If property is present, must be one of the following values:
  • italic
  • normal
  • oblique
weight The text weight.
If property is present, must be one of the following values:
  • bold
  • bolder
  • lighter
  • normal

Example

{
  "font": {
    "family": "Arial",
    "size": 12,
    "style": "normal",
    "weight": "bold",
    "decoration": "none"
  }
}

Feedback on this topic?