Linear Access properties. More...
Public Attributes | |
readonly IntPtr | BasePtr |
Linear access base pointer as returned by ImagePlane.GetLinearAccess and ImagePlane.TryGetLinearAccess. More... | |
readonly IntPtr | XInc |
X-increment for linear access. More... | |
readonly IntPtr | YInc |
Y-increment for linear access. More... | |
Properties | |
IntPtr | BasePtr [get] |
Linear access base pointer as returned by ImagePlane.GetLinearAccess and ImagePlane.TryGetLinearAccess. More... | |
IntPtr | XInc [get] |
X-increment for linear access. More... | |
IntPtr | YInc [get] |
Y-increment for linear access. More... | |
T | this[int x, int y] [get, set] |
Gets or sets the the pixel value at [x ,y ]. More... | |
Linear Access properties.
Typed linear access properties with coordinate pixel access.
T | Pixel type to use.Attention: Do not use reference types in T as this will leak memory! |
T | : | struct |
readonly IntPtr BasePtr |
Linear access base pointer as returned by ImagePlane.GetLinearAccess and ImagePlane.TryGetLinearAccess.
Remember that the increments to be added to the base pointer are given in bytes, not in pixels. BasePtr by design points to the pixel at location (0,0).
readonly IntPtr XInc |
X-increment for linear access.
Remember that the increment is given in bytes, not in pixels.
readonly IntPtr YInc |
Y-increment for linear access.
Remember that the increment is given in bytes, not in pixels.
|
get |
Linear access base pointer as returned by ImagePlane.GetLinearAccess and ImagePlane.TryGetLinearAccess.
Remember that the increments to be added to the base pointer are given in bytes, not in pixels. BasePtr by design points to the pixel at location (0,0).
|
getset |
Gets or sets the the pixel value at [x ,y ].
This is convenience functionality and not fast as this requires generic marshaling.
Attention: This access is unchecked regarding out-of-range violations!
x | X component of coordinate. |
y | Y component of coordinate. |
|
get |
X-increment for linear access.
Remember that the increment is given in bytes, not in pixels.
|
get |
Y-increment for linear access.
Remember that the increment is given in bytes, not in pixels.