DisposalMethod

Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum

public final class DisposalMethod extends System.Enum

Indicates the way in which the graphic is to be treated after being displayed.

Fields

FieldDescription
NoneNo disposal specified.
PreserveDo not dispose.
RestoreRestore to background color.
PreviuosRestore to previous.
UndefinedUndefined value.

None

public static final int None

No disposal specified.

Preserve

public static final int Preserve

Do not dispose. The graphic is to be left in place.

Restore

public static final int Restore

Restore to background color. The area used by the graphic must be restored to the background color.

Previuos

public static final int Previuos

Restore to previous. The decoder is required to restore the area overwritten by the graphic with what was there prior to rendering the graphic.

Undefined

public static final int Undefined

Undefined value.