layout: default title: SimpleFillSymbol parent: Core Classes —
dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components.Symbols
SimpleFillSymbol Class
SimpleFillSymbol is used for rendering 2D polygons in either a MapView or a SceneView. It can be filled with a
solid color, or a pattern. In addition, the symbol can have an optional outline, which is defined by a
SimpleLineSymbol.
ArcGIS Maps SDK for JavaScript
public class SimpleFillSymbol : dymaptic.GeoBlazor.Core.Components.Symbols.FillSymbol
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 Symbol 🡒 FillSymbol 🡒 SimpleFillSymbol
Constructors
SimpleFillSymbol() Constructor
Parameterless constructor for using as a razor component
public SimpleFillSymbol();
SimpleFillSymbol(Outline, MapColor, Nullable) Constructor
Constructs a new SimpleFillSymbol in code with parameters
public SimpleFillSymbol(dymaptic.GeoBlazor.Core.Components.Symbols.Outline? outline=null, dymaptic.GeoBlazor.Core.Objects.MapColor? color=null, System.Nullable<dymaptic.GeoBlazor.Core.Components.Symbols.FillStyle> fillStyle=null);
Parameters
outline
Outline
The outline of the polygon.
color
MapColor
The color of the polygon.
fillStyle
System.Nullable<FillStyle>
The fill style.
Properties
SimpleFillSymbol.FillStyle Property
The fill style.
public System.Nullable<dymaptic.GeoBlazor.Core.Components.Symbols.FillStyle> FillStyle { get; set; }
Property Value
SimpleFillSymbol.Outline Property
The outline of the polygon.
public dymaptic.GeoBlazor.Core.Components.Symbols.Outline? Outline { get; set; }
Property Value
SimpleFillSymbol.Type Property
The symbol type
public override string Type { get; }
Property Value
Methods
SimpleFillSymbol.RegisterChildComponent(MapComponent) Method
Called from dymaptic.GeoBlazor.Core.Components.MapComponent.OnInitializedAsync to “Register” the current component with it’s parent.
public override System.Threading.Tasks.Task RegisterChildComponent(dymaptic.GeoBlazor.Core.Components.MapComponent child);
Parameters
child
MapComponent
The calling, child component to register
Returns
Exceptions
InvalidChildElementException
Throws if the current child is not a valid sub-component to the parent.
Remarks
This method is an implementation detail and should not be called directly by consumers. In future versions, this may be changed to an internal method. If you see no other way to register a child component, please open an issue on GitHub.
SimpleFillSymbol.UnregisterChildComponent(MapComponent) Method
Undoes the “Registration” of a child with its parent.
public override System.Threading.Tasks.Task UnregisterChildComponent(dymaptic.GeoBlazor.Core.Components.MapComponent child);
Parameters
child
MapComponent
The child to unregister
Returns
Remarks
This method is an implementation detail and should not be called directly by consumers. In future versions, this may be changed to an internal method.