FreeImage.NET Class Library Reference
Palette Methods |
The Palette type exposes the following members.
Methods
Name | Description | |
---|---|---|
Clone |
Creates a shallow copy of the MemoryArrayT.
(Inherited from MemoryArrayT.) |
|
Colorize(Color) |
Creates a linear palette based on the provided color.
|
|
Colorize(Color, Double) |
Creates a linear palette based on the provided color.
|
|
Colorize(Color, Int32) |
Creates a linear palette based on the provided color.
|
|
CopyFrom(Palette) |
Copies the values from the specified Palette to this instance.
|
|
CopyFrom(Palette, Int32) |
Copies the values from the specified Palette to this instance,
starting at the specified offset.
|
|
CopyFrom(T, Int32, Int32, Int32) |
Copies a range of elements from the array starting at the specified
sourceIndex and pastes them to the unmanaged array
starting at the specified destinationIndex.
The length and the indexes are specified as 32-bit integers.
(Inherited from MemoryArrayT.) |
|
CopyTo(Array, Int32) |
Copies the entire array to a compatible one-dimensional Array,
starting at the specified index of the target array.
(Inherited from MemoryArrayT.) |
|
CopyTo(T, Int32, Int32, Int32) |
Copies a range of elements from the unmanaged array starting at the specified
sourceIndex and pastes them to array
starting at the specified destinationIndex.
The length and the indexes are specified as 32-bit integers.
(Inherited from MemoryArrayT.) |
|
CreateGrayscalePalette |
Creates a linear grayscale palette.
|
|
CreateGrayscalePalette(Boolean) |
Creates a linear grayscale palette.
|
|
CreateGrayscalePalette(Color, Boolean) |
Creates a linear palette with the specified Color.
|
|
Dispose |
Releases all ressources.
(Inherited from MemoryArrayT.) |
|
Equals(Object) |
Tests whether the specified MemoryArrayT structure is equivalent to this
MemoryArrayT structure.
(Inherited from MemoryArrayT.) |
|
Equals(MemoryArrayT) |
Tests whether the specified MemoryArrayT structure is equivalent to this
MemoryArrayT structure.
(Inherited from MemoryArrayT.) |
|
GetEnumerator |
Retrieves an object that can iterate through the individual
elements in this MemoryArrayT.
(Inherited from MemoryArrayT.) |
|
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from MemoryArrayT.) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
GetValue |
Gets the value at the specified position.
(Inherited from MemoryArrayT.) |
|
GetValues |
Gets the values at the specified position and length.
(Inherited from MemoryArrayT.) |
|
Load(BinaryReader) |
Loads a palette from the reader.
|
|
Load(Stream) |
Loads a palette from the specified stream.
|
|
Load(String) |
Loads a palette from the specified file.
|
|
Reverse |
Reverses the palette.
|
|
Save(BinaryWriter) |
Saves this Palette using the specified writer.
|
|
Save(Stream) |
Saves this Palette to the specified stream.
|
|
Save(String) |
Saves this Palette to the specified file.
|
|
SetValue |
Sets a value to the element at the specified position.
(Inherited from MemoryArrayT.) |
|
SetValues |
Sets the values at the specified position.
(Inherited from MemoryArrayT.) |
|
ToArray |
Returns the palette as an array of RGBQUAD.
|
|
ToByteArray |
Returns the represented block of memory as an array of Byte.
(Inherited from MemoryArrayT.) |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
See Also