// // Copyright (c) James Jackson-South and contributors. // Licensed under the Apache License, Version 2.0. // namespace ImageSharp.Formats { /// /// Provides enumeration for instructing the decoder what to do with the last image /// in an animation sequence. /// section 23 /// public enum DisposalMethod { /// /// No disposal specified. The decoder is not required to take any action. /// Unspecified = 0, /// /// Do not dispose. The graphic is to be left in place. /// NotDispose = 1, /// /// Restore to background color. The area used by the graphic must be restored to /// the background color. /// RestoreToBackground = 2, /// /// Restore to previous. The decoder is required to restore the area overwritten by the /// graphic with what was there prior to rendering the graphic. /// RestoreToPrevious = 3 } }