AdornmentOverlay¶
Namespace: ThinkGeo.UI.Blazor
public class AdornmentOverlay : Overlay, Microsoft.AspNetCore.Components.IComponent, Microsoft.AspNetCore.Components.IHandleEvent, Microsoft.AspNetCore.Components.IHandleAfterRender
Inheritance Object → ComponentBase → Overlay → AdornmentOverlay
Implements IComponent, IHandleEvent, IHandleAfterRender
Properties¶
Layers¶
A collection of
public GeoCollection<AdornmentLayer> Layers { get; set; }
Property Value¶
GeoCollection<AdornmentLayer>
Id¶
Gets or sets Id.
public string Id { get; set; }
Property Value¶
IsVisible¶
Indicating whether the overlay is visible or not. Defaults to true.
public bool IsVisible { get; set; }
Property Value¶
Constructors¶
AdornmentOverlay()¶
public AdornmentOverlay()
Methods¶
BuildRenderTree(RenderTreeBuilder)¶
protected void BuildRenderTree(RenderTreeBuilder __builder)
Parameters¶
__builder
RenderTreeBuilder
InitAsync()¶
protected internal Task InitAsync()
Returns¶
ReleaseAsync()¶
protected internal Task ReleaseAsync()
Returns¶
RedrawAsync()¶
public Task RedrawAsync()
Returns¶
DrawCore(GeoCanvas)¶
This method overrides the DrawCore logic in the Overlay base class.
Draw all of the AdornmentLayers to the image object using the parameters specified.
protected void DrawCore(GeoCanvas canvas)
Parameters¶
canvas
GeoCanvas
This parameter specifies the target canvas to draw the current AdornmentOverlay on.
OnAfterRenderAsync(Boolean)¶
protected Task OnAfterRenderAsync(bool firstRender)
Parameters¶
firstRender
Boolean
Returns¶
OnInitialized()¶
protected void OnInitialized()