Skip to content

DrawnOverlayEventArgs

Namespace: ThinkGeo.UI.WebApi

Provides the data for the Overlay.Drawn event, including the canvas that finished rendering.

public class DrawnOverlayEventArgs : System.EventArgs

Inheritance ObjectEventArgsDrawnOverlayEventArgs

Properties

GeoCanvas

Gets or sets the canvas that holds the completed overlay output. Assigning null throws an ArgumentNullException.

public GeoCanvas GeoCanvas { get; set; }

Property Value

GeoCanvas
The non-null canvas associated with the completed draw operation.

Constructors

DrawnOverlayEventArgs()

Creates an event argument instance with no canvas so it can be populated after drawing completes.

public DrawnOverlayEventArgs()

DrawnOverlayEventArgs(GeoCanvas)

Creates an event argument instance for the specified canvas once rendering is finished.

public DrawnOverlayEventArgs(GeoCanvas geoCanvas)

Parameters

geoCanvas GeoCanvas
Canvas that has just been drawn on.