GifGraphicsControlBlock

GifGraphicsControlBlock class

Gif graphics control block.

public class GifGraphicsControlBlock : GifBlock

Constructors

Name Description
GifGraphicsControlBlock() Initializes a new instance of the GifGraphicsControlBlock class.
GifGraphicsControlBlock(byte, ushort, byte) Initializes a new instance of the GifGraphicsControlBlock class.
GifGraphicsControlBlock(ushort, bool, byte, bool, DisposalMethod) Initializes a new instance of the GifGraphicsControlBlock class.

Properties

Name Description
DelayTime { get; set; } Gets or sets the frame delay time expressed in 1/100 seconds.
DisposalMethod { get; set; } Gets or sets the disposal method.
Flags { get; set; } Gets or sets the flags.
HasTransparentColor { get; set; } Gets or sets a value indicating whether graphics control block has transparent color.
IsChanged { get; set; } Gets or sets a value indicating whether block has changed and requires save.
TransparentColorIndex { get; set; } Gets or sets the transparent color index.
UserInputExpected { get; set; } Gets or sets a value indicating whether user input is expected.

Methods

Name Description
override Save(Stream) Saves the block to the specified stream.
static CreateFlags(bool, bool, DisposalMethod) Creates the flags.

Fields

Name Description
const BlockHeaderSize Specifies the block header size.
const ExtensionLabel Extension label.
const SubBlockSize Gets the sub-block size.

See Also