編輯

共用方式為


SKCodecAnimationDisposalMethod Enum

Definition

Represents how the next frame in the image is based on the current frame.

public enum SKCodecAnimationDisposalMethod
Inheritance
SKCodecAnimationDisposalMethod

Fields

Name Value Description
Keep 1

The next frame should be drawn on top of this one.

RestoreBackgroundColor 2

The area inside this frame's rectangle should be cleared to the background color before drawing the next frame.

RestorePrevious 3

The next frame should be drawn on top of the previous frame - i.e. disregarding this one.

Applies to