Represents a low-level custom accessor to a bitmap data row of specific element type.
Namespace: KGySoft.Drawing.Imaging
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 7.0.0-preview.2
Syntax
public interface ICustomBitmapDataRow<T> : ICustomBitmapDataRow where T : struct, new()
Type Parameters
- T
- The element type of the underlying custom buffer.
The ICustomBitmapDataRowT type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() | BitmapData |
Gets the corresponding IBitmapData of this row.
(Inherited from ICustomBitmapDataRow.) |
![]() | Item |
Gets a reference to the actual underlying buffer element at the specified index.
To reinterpret the element type of the underlying buffer use the GetRefAsT(Int32) method instead.
|
Methods
Name | Description | |
---|---|---|
![]() | GetRefAsT |
Gets a reference to a value interpreted as T within the current row at the specified x index.
(Inherited from ICustomBitmapDataRow.) |
![]() | UnsafeGetRefAsT |
Gets a reference to a value interpreted as T within the current row at the specified x index.
This method is similar to GetRefAsT(Int32) but it does not check whether x is valid for RowSize and the size of T.
It may provide a better performance but if x is invalid, then memory can be either corrupted or an AccessViolationException can be thrown.
(Inherited from ICustomBitmapDataRow.) |
See Also