Skip to content

RequestedDrawingLayerEventArgs

Namespace: ThinkGeo.Core

Provides data for the Layer.RequestedDrawing event raised when the framework requests a redraw.

public class RequestedDrawingLayerEventArgs : System.EventArgs

Inheritance ObjectEventArgsRequestedDrawingLayerEventArgs

Properties

BufferTime

Gets or sets the amount of time the draw call may be delayed.

public TimeSpan BufferTime { get; set; }

Property Value

TimeSpan

BufferTimeType

Gets or sets how the buffer time should be interpreted.

public RequestDrawingBufferTimeType BufferTimeType { get; set; }

Property Value

RequestDrawingBufferTimeType

ExtentsToRefresh

Gets the collection of extents that need to be refreshed.

public Collection<RectangleShape> ExtentsToRefresh { get; }

Property Value

Collection<RectangleShape>

Constructors

RequestedDrawingLayerEventArgs()

Initializes a new instance of the RequestedDrawingLayerEventArgs class using the default extent.

public RequestedDrawingLayerEventArgs()

RequestedDrawingLayerEventArgs(RectangleShape)

Initializes a new instance targeting a specific extent.

public RequestedDrawingLayerEventArgs(RectangleShape extentToRefresh)

Parameters

extentToRefresh RectangleShape

RequestedDrawingLayerEventArgs(IEnumerable<RectangleShape>)

Initializes a new instance with multiple extents and the default buffer time.

public RequestedDrawingLayerEventArgs(IEnumerable<RectangleShape> extentsToRefresh)

Parameters

extentsToRefresh IEnumerable<RectangleShape>

RequestedDrawingLayerEventArgs(TimeSpan)

Initializes a new instance with the default extent and the specified buffer time.

public RequestedDrawingLayerEventArgs(TimeSpan bufferTime)

Parameters

bufferTime TimeSpan

RequestedDrawingLayerEventArgs(TimeSpan, RequestDrawingBufferTimeType)

Initializes a new instance with the default extent, buffer time, and buffer mode.

public RequestedDrawingLayerEventArgs(TimeSpan bufferTime, RequestDrawingBufferTimeType bufferTimeType)

Parameters

bufferTime TimeSpan

bufferTimeType RequestDrawingBufferTimeType

RequestedDrawingLayerEventArgs(RectangleShape, TimeSpan)

Initializes a new instance using the specified extent and buffer time.

public RequestedDrawingLayerEventArgs(RectangleShape extentToRefresh, TimeSpan bufferTime)

Parameters

extentToRefresh RectangleShape

bufferTime TimeSpan

RequestedDrawingLayerEventArgs(RectangleShape, TimeSpan, RequestDrawingBufferTimeType)

Initializes a new instance using the specified extent, buffer time, and buffer type.

public RequestedDrawingLayerEventArgs(RectangleShape extentToRefresh, TimeSpan bufferTime, RequestDrawingBufferTimeType bufferTimeType)

Parameters

extentToRefresh RectangleShape

bufferTime TimeSpan

bufferTimeType RequestDrawingBufferTimeType

RequestedDrawingLayerEventArgs(IEnumerable<RectangleShape>, TimeSpan)

Initializes a new instance with multiple extents and the specified buffer time.

public RequestedDrawingLayerEventArgs(IEnumerable<RectangleShape> extentsToRefresh, TimeSpan bufferTime)

Parameters

extentsToRefresh IEnumerable<RectangleShape>

bufferTime TimeSpan

RequestedDrawingLayerEventArgs(IEnumerable<RectangleShape>, TimeSpan, RequestDrawingBufferTimeType)

Initializes a new instance with multiple extents, a buffer time, and a buffer type.

public RequestedDrawingLayerEventArgs(IEnumerable<RectangleShape> extentsToRefresh, TimeSpan bufferTime, RequestDrawingBufferTimeType bufferTimeType)

Parameters

extentsToRefresh IEnumerable<RectangleShape>

bufferTime TimeSpan

bufferTimeType RequestDrawingBufferTimeType