CreateFlags

GifGraphicsControlBlock.CreateFlags method

Creates the flags.

public static byte CreateFlags(bool hasTransparentColor, bool requiresUserInput, 
    DisposalMethod disposalMethod)
ParameterTypeDescription
hasTransparentColorBooleanif set to true the GifGraphicsControlBlock has valid transparent color index.
requiresUserInputBooleanif set to true the user input is expected.
disposalMethodDisposalMethodThe disposal method.

Return Value

The generated flags.

See Also