layout: default title: PictureFillSymbol parent: Core Classes —
dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components.Symbols
PictureFillSymbol Class
PictureFillSymbol uses an image in a repeating pattern to symbolize polygon features in a 2D MapView. A url must point to a valid image. In addition, the symbol can have an optional outline, which is defined by a SimpleLineSymbol. PictureFillSymbols may be applied to polygon features in a FeatureLayer or an individual Graphic.
ArcGIS Maps SDK for JavaScript
public class PictureFillSymbol : dymaptic.GeoBlazor.Core.Components.Symbols.FillSymbol
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 MapComponent 🡒 Symbol 🡒 FillSymbol 🡒 PictureFillSymbol
Constructors
PictureFillSymbol() Constructor
Parameterless constructor for use as a razor component
public PictureFillSymbol();
PictureFillSymbol(string, Dimension, Dimension, Dimension, Dimension, Nullable, Nullable, Outline) Constructor
Constructor for use in code
public PictureFillSymbol(string url, dymaptic.GeoBlazor.Core.Objects.Dimension? width=null, dymaptic.GeoBlazor.Core.Objects.Dimension? height=null, dymaptic.GeoBlazor.Core.Objects.Dimension? xOffset=null, dymaptic.GeoBlazor.Core.Objects.Dimension? yOffset=null, System.Nullable<int> xScale=null, System.Nullable<int> yScale=null, dymaptic.GeoBlazor.Core.Components.Symbols.Outline? outline=null);
Parameters
url
System.String
The URL to an image or SVG document.
width
Dimension
The width of the image in points.
height
Dimension
The height of the image in points.
xOffset
Dimension
The offset on the x-axis in points.
yOffset
Dimension
The offset on the y-axis in points.
xScale
System.Nullable<System.Int32>
The scale factor on the x axis of the symbol.
Default Value:1
yScale
System.Nullable<System.Int32>
The scale factor on the y axis of the symbol.
Default Value:1
outline
Outline
The outline of the polygon.
Properties
PictureFillSymbol.Height Property
The height of the image in points.
public dymaptic.GeoBlazor.Core.Objects.Dimension? Height { get; set; }
Property Value
PictureFillSymbol.Outline Property
The outline of the polygon.
public dymaptic.GeoBlazor.Core.Components.Symbols.Outline? Outline { get; set; }
Property Value
PictureFillSymbol.Type Property
The symbol type
public override string Type { get; }
Property Value
PictureFillSymbol.Url Property
The URL to an image or SVG document.
public string Url { get; set; }
Property Value
PictureFillSymbol.Width Property
The width of the image in points.
public dymaptic.GeoBlazor.Core.Objects.Dimension? Width { get; set; }
Property Value
PictureFillSymbol.XOffset Property
The offset on the x-axis in points.
public dymaptic.GeoBlazor.Core.Objects.Dimension? XOffset { get; set; }
Property Value
PictureFillSymbol.XScale Property
The scale factor on the x axis of the symbol.
Default Value:1
public System.Nullable<int> XScale { get; set; }
Property Value
PictureFillSymbol.YOffset Property
The offset on the y-axis in points.
public dymaptic.GeoBlazor.Core.Objects.Dimension? YOffset { get; set; }
Property Value
PictureFillSymbol.YScale Property
The scale factor on the y axis of the symbol.
Default Value:1
public System.Nullable<int> YScale { get; set; }
Property Value
Methods
PictureFillSymbol.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.
PictureFillSymbol.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.