FreeImage.NET Class Library Reference
ScanlineT Class |
Provides methods for working with generic bitmap scanlines.
Inheritance Hierarchy
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public sealed class Scanline<T> : MemoryArray<T> where T : struct, new()
Type Parameters
- T
- Type of the bitmaps' scanlines.
The ScanlineT type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ScanlineT(FIBITMAP) |
Initializes a new instance based on the specified FreeImage bitmap.
| |
ScanlineT(FIBITMAP, Int32) |
Initializes a new instance based on the specified FreeImage bitmap.
|
Properties
Name | Description | |
---|---|---|
BaseAddress |
Gets the base address of the represented memory block.
(Inherited from MemoryArrayT.) | |
Count |
Gets a 32-bit integer that represents the total number of elements
in the MemoryArrayT.
(Inherited from MemoryArrayT.) | |
Data |
Gets or sets the values of the unmanaged array.
(Inherited from MemoryArrayT.) | |
IsSynchronized |
Gets a value indicating whether access to the MemoryArrayT
is synchronized (thread safe).
(Inherited from MemoryArrayT.) | |
Item |
Gets or sets the value at the specified position in the array.
(Inherited from MemoryArrayT.) | |
Length |
Gets the length of the unmanaged array.
(Inherited from MemoryArrayT.) | |
SyncRoot |
Gets an object that can be used to synchronize access to the MemoryArrayT.
(Inherited from MemoryArrayT.) |
Methods
Name | Description | |
---|---|---|
Clone |
Creates a shallow copy of the MemoryArrayT.
(Inherited from MemoryArrayT.) | |
CopyFrom |
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.) | |
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.) | |
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.) | |
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