The base class for a component of a Graphics Interchange File data
stream.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public abstract class GifComponent
Public MustInherit Class GifComponent
public ref class GifComponent abstract
Members
All Members | Constructors | Methods | Properties | Fields | |
Icon | Member | Description |
---|---|---|
GifComponent()()() |
Constructor.
This is implicitly called by constructors of derived types.
| |
CodeApplicationExtensionLabel |
Application extension label - identifies the current block as a
ApplicationExtension.
Value 0xFF.
| |
CodeCommentLabel |
Comment label - identifies the current block as a comment extension.
Value 0xFE.
TODO: add see cref once CommentExtension class is implemented.
| |
CodeExtensionIntroducer |
Extension introducer - identifies the start of an extension block.
Value 0x21.
| |
CodeGraphicControlLabel |
Graphic control label - identifies the current block as a
GraphicControlExtension.
Value 0xF9.
| |
CodeImageSeparator |
Image separator - identifies the start of an
ImageDescriptor.
Value 0x2C.
| |
CodePlaintextLabel |
Plain text label - identifies the current block as a plain text
extension.
Value 0x01.
TODO: add see cref once PlainTextExtension class implemented
| |
CodeTrailer |
Trailer - This is a single-field block indicating the end of the GIF
data stream.
Value 0x3B.
| |
ComponentStatus |
Gets the status of this component, consisting of its error state
and any associated error message.
| |
ConsolidatedState |
Gets the combined error states of this component and all its child
components.
| |
Equals(Object) | (Inherited from Object.) | |
ErrorMessage |
Gets any error message associated with the component's error state.
| |
ErrorState |
Gets the member of the Gif.Components.ErrorState enumeration held
within the ComponentStatus property.
| |
Finalize()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode()()() | 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.) | |
GetType()()() | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Read(Stream) |
Reads a single byte from the input stream and advances the position
within the stream by one byte, or returns -1 if at the end of the
stream.
| |
ReadShort(Stream) |
Reads next 16-bit value, least significant byte first, and advances
the position within the stream by two bytes.
| |
SetStatus(ErrorState, String) |
Sets the ComponentStatus property of thie GifComponent.
| |
SkipBlocks(Stream) |
Skips variable length blocks up to and including next zero length
block (block terminator).
| |
TestState(ErrorState) |
Tests whether the error state of this component or any of its member
components contains the supplied member of the ErrorState
enumeration.
| |
ToString()()() |
Gets a string representation of the error status of this component
and its subcomponents.
(Overrides Object.ToString()()().) | |
WriteByte(Int32, Stream) |
Writes the least significant byte of the supplied value to the
supplied stream.
The first 3 bytes of the supplied value are discarded.
| |
WriteShort(Int32, Stream) |
Writes a 16-bit value to the supplied output stream,
least-significant byte first.
The first two bytes in the supplied value are discarded.
| |
WriteString(String, Stream) |
Writes the supplied string to the supplied output stream
| |
WriteToStream(Stream) |
Appends the current GifComponent to the supplied output stream.
|
Inheritance Hierarchy