A global or local colour table which forms part of a GIF data stream.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public class ColourTable : GifComponent
Public Class ColourTable _ Inherits GifComponent
public ref class ColourTable : public GifComponent
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
ColourTable()()() |
Constructor.
| |
Add(Color) |
Adds the supplied colour to the table
| |
Colours |
Gets the colours in the colour table.
This property is included in order to make the colours visible in
a property sheet.
| |
ComponentStatus |
Gets the status of this component, consisting of its error state
and any associated error message.
(Inherited from GifComponent.) | |
ConsolidatedState |
Gets the combined error states of this component and all its child
components.
(Inherited from GifComponent.) | |
Equals(Object) | (Inherited from Object.) | |
ErrorMessage |
Gets any error message associated with the component's error state.
(Inherited from GifComponent.) | |
ErrorState |
Gets the member of the Gif.Components.ErrorState enumeration held
within the ComponentStatus property.
(Inherited from GifComponent.) | |
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.) | |
FromStream(Stream, Int32) |
Reads and returns a colour table from the supplied input stream.
| |
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.) | |
Item[([(Int32])]) |
Gets or sets the colour at the specified index in the colour table.
| |
Length |
Gets the number of colours in the colour table.
| |
MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetStatus(ErrorState, String) |
Sets the ComponentStatus property of thie GifComponent.
(Inherited from GifComponent.) | |
SizeBits |
Gets the number of bits required to hold the length of the colour
table, minus 1.
| |
TestState(ErrorState) |
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.) | |
ToString()()() |
Gets a string representation of the error status of this component
and its subcomponents.
(Inherited from GifComponent.) | |
WriteToStream(Stream) |
Writes this component to the supplied output stream.
(Overrides GifComponent.WriteToStream(Stream).) |
Inheritance Hierarchy
Object | ||
GifComponent | ||
ColourTable |