Type Alias DisposalCode

DisposalCode:
    | 0
    | 1
    | 2
    | 3
    | 4
    | 5
    | 6
    | 7

The disposal method code.

  • 0: No disposal specified. The decoder is not required to take any action.
  • 1: Do not dispose. The graphic is to be left in place.
  • 2: Restore to background color. The area used by the graphic must be restored to the background color.
  • 3: Restore to previous. The decoder is required to restore the area overwritten by the graphic with what was there prior to rendering the graphic.
  • 4 - 7: To be defined.