PeachDrawing.Win2D.Win2dCanvas

Win2dCanvas.Dispose() Method

Pops everything still pushed, puts back the session’s transform, blend and anti-aliasing, and closes the session if this canvas opened it. Safe to call more than once. A session passed to FromSession(Win2dRenderContext, CanvasDrawingSession, Rect, Win2dLinkOptions) is left open and usable.

public override void Dispose();

Implements Dispose()