Class GifPlainTextRenderingBlock

GifPlainTextRenderingBlock class

Gif plain text extension block. The plain text extension contains textual data and the parameters necessary to render that data as a graphic, in a simple form.

public class GifPlainTextRenderingBlock : GifBlock

Constructors

NameDescription
GifPlainTextRenderingBlock()Initializes a new instance of the GifPlainTextRenderingBlock class.
GifPlainTextRenderingBlock(ushort, ushort, ushort, ushort, byte, byte, byte, byte, byte[])Initializes a new instance of the GifPlainTextRenderingBlock class.

Properties

NameDescription
CharacterCellHeight { get; set; }Gets or sets the character cell height, in pixels, of each cell in the grid.
CharacterCellWidth { get; set; }Gets or sets the character cell width, in pixels, of each cell in the grid.
IsChanged { get; set; }Gets or sets a value indicating whether block has changed and requires save.
PlainTextData { get; set; }Gets or sets the plain text data.
TextBackgroundColorIndex { get; set; }Gets or sets the index of the color in the global color palette used to draw the text background.
TextForegroundColorIndex { get; set; }Gets or sets the index of the color in the global color palette used to draw the text foreground.
TextGridHeight { get; set; }Gets or sets the text grid height in pixels
TextGridLeftPosition { get; set; }Gets or sets the text grid left position.
TextGridTopPosition { get; set; }Gets or sets the text grid top position.
TextGridWidth { get; set; }Gets or sets the text grid with in pixels

Methods

NameDescription
override Save(Stream)Saves the block to the specified stream.

Fields

NameDescription
const BlockSizeThe overall block size.
const ExtensionLabelThe plain text extension label.
const SubBlockSizeThe size of the sub block.

See Also