The font family of the text.
The font family of the text. The possible values are dependent upon the layer type, and if you working with a MapView or a SceneView. See the Labeling guide page for detailed explanation, or click the Read more
below. >>> esri-read-more Font families for 3D SceneViews The supported font families for 3D SceneViews are dependent upon the fonts installed on the user's computer and web browser. If an app uses a font that is not installed, the Font class implements a fallback mechanism that will use the default font family value, which is sans-serif
. Font families for 2D MapImageLayer The supported font families for MapImageLayers in a MapView are dependent upon the fonts installed on the ArcGIS Server that published the layer. If an app uses a font that is not installed, the Font class implements a fallback mechanism that will use the default font family value, which is sans-serif
. Font families for 2D FeatureLayer, CSVLayer, StreamLayer, and TextSymbol The supported font families are based on hosted fonts files in .pbf
format. By default, the fonts available are mostly the same ones used by the Esri Vector Basemaps. These fonts are available via https://static.arcgis.com/fonts
. The URL can be configured to point to your own font resources by setting the esriConfig.fontsUrl property. If an app uses a font that is not installed, the Font class implements a fallback mechanism that will use the default font family value, which is sans-serif
. This uses the Arial Unicode MS
font file. > A preview of the fonts listed in the following table are available in the Labeling overview page. List of currently supported fonts: Read more...
The font size in points.
The text style.
The text weight.
Creates a deep clone of the font object.
Converts an instance of this class to its ArcGIS portal JSON representation.
Generated using TypeDoc
The text decoration.
Read more...