Enum PngDisposalMethod
- Namespace
- SixLabors.ImageSharp.Formats.Png
- Assembly
- SixLabors.ImageSharp.dll
Specifies how the output buffer should be changed at the end of the delay (before rendering the next frame).
public enum PngDisposalMethod
Fields
DoNotDispose = 0
No disposal is done on this frame before rendering the next; the contents of the output buffer are left as is.
RestoreToBackground = 1
The frame's region of the output buffer is to be cleared to fully transparent black before rendering the next frame.
RestoreToPrevious = 2
The frame's region of the output buffer is to be reverted to the previous contents before rendering the next frame.