dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components.Symbols
MapFont Class
The font used to display 2D text symbols and 3D text symbols. This class allows the developer to set the font’s
family, decoration, size, style, and weight properties. Take note of the “Known Limitations” for each property to
understand how they differ depending on the layer type, and if you working with a MapView or SceneView.
ArcGIS JS API
public class MapFont : dymaptic.GeoBlazor.Core.Components.MapComponent,
System.IEquatable<dymaptic.GeoBlazor.Core.Components.Symbols.MapFont>
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 MapFont
Implements System.IEquatable<MapFont>
Properties
MapFont.Family Property
The font family of the text.
public string? Family { get; set; }
Property Value
MapFont.FontStyle Property
The text style.
public string? FontStyle { get; set; }
Property Value
MapFont.Size Property
The font size in points.
public System.Nullable<int> Size { get; set; }
Property Value
MapFont.Weight Property
The text weight.
public string? Weight { get; set; }
Property Value
Methods
MapFont.Equals(object) Method
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj);
Parameters
obj
System.Object
The object to compare with the current object.
Returns
System.Boolean
true if the specified object is equal to the current object; otherwise, false.
MapFont.GetHashCode() Method
Serves as the default hash function.
public override int GetHashCode();
Returns
System.Int32
A hash code for the current object.
Operators
MapFont.operator ==(MapFont, MapFont) Operator
Compares two MapFont objects for equality
public static bool operator ==(dymaptic.GeoBlazor.Core.Components.Symbols.MapFont? left, dymaptic.GeoBlazor.Core.Components.Symbols.MapFont? right);
Parameters
left
MapFont
right
MapFont
Returns
MapFont.operator !=(MapFont, MapFont) Operator
Compares two MapFont objects for inequality
public static bool operator !=(dymaptic.GeoBlazor.Core.Components.Symbols.MapFont? left, dymaptic.GeoBlazor.Core.Components.Symbols.MapFont? right);
Parameters
left
MapFont
right
MapFont