Provides a fast read-write access to a single row of an IReadWriteBitmapData.
See the Remarks section of the GetReadWriteBitmapData method for details and examples.
See the Remarks section of the GetReadWriteBitmapData method for details and examples.
Namespace: KGySoft.Drawing.Imaging
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 7.0.0-preview.2
Syntax
public interface IReadWriteBitmapDataRow : IReadableBitmapDataRow, IBitmapDataRow, IWritableBitmapDataRow
The IReadWriteBitmapDataRow type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() | Index |
Gets the index of the current row. Can fall between zero and Height of the owner IBitmapData (exclusive upper bound).
(Inherited from IBitmapDataRow.) |
![]() | Item |
Gets or sets the color of the pixel in the current row at the specified x coordinate.
See the Remarks section for details. |
![]() | Size |
Gets the size of the row in bytes, or zero, if this IBitmapDataRow instance does not have an actual raw buffer to access.
(Inherited from IBitmapDataRow.)See the Remarks section of the IBitmapData.RowSize property for details. |
![]() | Width |
Gets the width of the row in pixels.
(Inherited from IBitmapDataRow.) |
Methods
Name | Description | |
---|---|---|
![]() | GetColor |
Gets the color of the pixel in the current row at the specified x coordinate.
(Inherited from IReadableBitmapDataRow.)See the Remarks section for details. |
![]() | GetColorIndex |
If the owner IReadableBitmapData is an indexed one, then gets the color index of the pixel in the current row at the specified x coordinate.
(Inherited from IReadableBitmapDataRow.)See the Remarks section for details. |
![]() ![]() | ReadRawT |
Gets the underlying raw value within the current IReadableBitmapDataRow at the specified x coordinate.
(Inherited from IReadableBitmapDataRow.)See the Remarks section for details and an example. |
![]() | SetColor |
Sets the color of the pixel in the current row at the specified x coordinate.
(Inherited from IWritableBitmapDataRow.)See the Remarks section for details. |
![]() | SetColorIndex |
If the owner IWritableBitmapData has an indexed pixel format, then sets the color index of the pixel in the current row at the specified x coordinate.
(Inherited from IWritableBitmapDataRow.)See the Remarks section for details. |
![]() ![]() | WriteRawT |
Sets the underlying raw value within the current IWritableBitmapDataRow at the specified x coordinate.
(Inherited from IWritableBitmapDataRow.)See the Remarks section for details and an example. |
See Also