A single image frame from a GIF file. Originally a nested class within the GifDecoder class by Kevin Weiner. Downloaded from http://www.thinkedge.com/BlogEngine/file.axd?file=NGif_src2.zip Amended by Simon Bridewell June-November 2009: 1. Made member variables private. 2. Added various properties to expose all the elements of the GifFrame. 3. Added constructors for use in both encoding and decoding. 4. Derive from GifComponent. 5. Added FromStream method
GifComponents (Module: GifComponents) Version: 0.1.3594.26453
|GifFrame(TableBasedImageData, ColourTable, ImageDescriptor, GraphicControlExtension, Color, LogicalScreenDescriptor, GifFrame, GifFrame)|
Gets and sets the background colour of the current frame
Gets the status of this component, consisting of its error state and any associated error message.(Inherited from GifComponent.)
Gets the combined error states of this component and all its child components.(Inherited from GifComponent.)
Gets and sets the delay in hundredths of a second before showing the next frame.
Gets any error message associated with the component's error state.(Inherited from GifComponent.)
Gets the member of the Gif.Components.ErrorState enumeration held within the ComponentStatus property.(Inherited from GifComponent.)
Gets a flag indicating whether the device displaying the animation should wait for user input (e.g. a mouse click or key press) before displaying the next frame.
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.(Inherited from Object.)
|FromStream(Stream, LogicalScreenDescriptor, ColourTable, GraphicControlExtension, GifFrame, GifFrame)|
Creates and returns a GifFrame by reading its data from the supplied input stream.
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.(Inherited from Object.)
Gets the Type of the current instance.(Inherited from Object.)
Gets the graphic control extension which precedes this image.
Gets the image descriptor for this frame.
Gets the table-based image data containing the indices within the active colour table of the colours of each of the pixels in the frame.
Gets the local colour table for this frame.
Creates a shallow copy of the current Object.(Inherited from Object.)
Gets and sets the position of this frame's image within the logical screen.
Sets the ComponentStatus property of thie GifComponent.(Inherited from GifComponent.)
Tests whether the error state of this component or any of its member components contains the supplied member of the ErrorState enumeration.(Inherited from GifComponent.)
Gets the image held in this frame.
Gets a string representation of the error status of this component and its subcomponents.(Inherited from GifComponent.)
Writes this component to the supplied output stream.(Overrides GifComponent.WriteToStream(Stream).)