Skip to content

DrawnOverlayEventArgs

Namespace: ThinkGeo.Core

This is the event arguments for the OverlayDrawn event on the MapEngine class. It is raised after the Overlay has been drawn.

public class DrawnOverlayEventArgs : System.EventArgs

Inheritance ObjectEventArgsDrawnOverlayEventArgs

Remarks:

This is the event arguments for the OverlayDrawn event on the MapEngine class. It is raised after the Overlay has been drawn. This event allows you draw something with the canvas after the Layer draws.

Properties

WorldExtent

Gets or sets an extent for drawing an overlay.

public RectangleShape WorldExtent { get; set; }

Property Value

RectangleShape

OverlayRefreshType

public OverlayRefreshType OverlayRefreshType { get; set; }

Property Value

OverlayRefreshType

Overlay

public Overlay Overlay { get; set; }

Property Value

Overlay

Constructors

DrawnOverlayEventArgs()

Constructor of DrawnOverlayEventArgs class.

public DrawnOverlayEventArgs()

Remarks:

This is the default constructor. If you use this constructor then you need to set the required properties manually.

DrawnOverlayEventArgs(RectangleShape)

Constructor of DrawnOverlayEventArgs class.

public DrawnOverlayEventArgs(RectangleShape worldExtent)

Parameters

worldExtent RectangleShape

        This parameter is an extent for drawing an overlay.

DrawnOverlayEventArgs(RectangleShape, OverlayRefreshType)

public DrawnOverlayEventArgs(RectangleShape worldExtent, OverlayRefreshType overlayRefreshType)

Parameters

worldExtent RectangleShape

overlayRefreshType OverlayRefreshType

DrawnOverlayEventArgs(RectangleShape, OverlayRefreshType, Overlay)

public DrawnOverlayEventArgs(RectangleShape worldExtent, OverlayRefreshType overlayRefreshType, Overlay overlay)

Parameters

worldExtent RectangleShape

overlayRefreshType OverlayRefreshType

overlay Overlay