Begin(DisplayList, Bitmap, in Matrix, CancellationToken) Method

Definition

Starts drawing list into target.

public ITileRender Begin(DisplayList list, Bitmap target, in Matrix deviceTransform, CancellationToken cancellationToken)

Parameters

list
DisplayList

The page's display list.

target
Bitmap

The tile's pixels, holding the background on entry (white paper, or transparent for an overlay tile).

deviceTransform
Matrix

Default user space to the target's pixels.

cancellationToken
CancellationToken

Stops the render; RenderSlice(TimeSpan) then throws .

Returns

ITileRender
The render in progress; the caller disposes it.