Class PngFrameMetadata
Provides APng specific metadata information for the image frame.
Implements
Inherited Members
Namespace: SixLabors.ImageSharp.Formats.Png
Assembly: SixLabors.ImageSharp.dll
Syntax
public class PngFrameMetadata : IDeepCloneable
Constructors
PngFrameMetadata()
Initializes a new instance of the PngFrameMetadata class.
Declaration
public PngFrameMetadata()
Properties
BlendMethod
Gets or sets the type of frame area rendering for this frame
Declaration
public PngBlendMethod BlendMethod { get; set; }
Property Value
| Type | Description |
|---|---|
| PngBlendMethod |
DisposalMethod
Gets or sets the type of frame area disposal to be done after rendering this frame
Declaration
public PngDisposalMethod DisposalMethod { get; set; }
Property Value
| Type | Description |
|---|---|
| PngDisposalMethod |
FrameDelay
Gets or sets the frame delay for animated images. If not 0, when utilized in Png animation, this field specifies the number of seconds to wait before continuing with the processing of the Data Stream. The clock starts ticking immediately after the graphic is rendered.
Declaration
public Rational FrameDelay { get; set; }
Property Value
| Type | Description |
|---|---|
| Rational |
Methods
DeepClone()
Creates a new object that is a deep copy of the current instance.
Declaration
public IDeepCloneable DeepClone()
Returns
| Type | Description |
|---|---|
| IDeepCloneable | The IDeepCloneable. |