Table of Contents

Method CancelRendering

Namespace
PaintDotNet.Effects
Assembly
PaintDotNet.Effects.Core.dll

CancelRendering()

Signals to the effect that it should cancel rendering. Threads that are currently rendering will either return early without completing rendering, or will throw an OperationCanceledException. Calling this method does not guarantee that the effect will honor the cancellation request for threads that are currently rendering, but it will prevent new rendering calls from performing any work until the next token change (e.g. with SetToken(EffectConfigToken?)).

void CancelRendering()