IReadableBitmapDataRow Interface

Provides fast read-only access to a single row of an IReadableBitmapData.
See the Remarks section of the GetReadWriteBitmapData method for details and examples.

Definition

Namespace: KGySoft.Drawing.Imaging
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.0-rc.1
C#
public interface IReadableBitmapDataRow : IBitmapDataRow
Implements
IBitmapDataRow

Properties

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 the color of the pixel in the current row at the specified x coordinate as a Color32 value.
Size Gets the size of the row in bytes, or zero, if this IBitmapDataRow instance does not have an actual raw buffer to access.
See the Remarks section of the IBitmapData.RowSize property for details.
(Inherited from IBitmapDataRow)
Width Gets the width of the row in pixels.
(Inherited from IBitmapDataRow)

Methods

GetColor Gets the color of the pixel in the current row at the specified x coordinate as a Color value.
GetColor32 Gets the color of the pixel in the current row at the specified x coordinate as a Color32 value.
GetColor64 Gets the color of the pixel in the current row at the specified x coordinate as a Color64 value.
GetColorF Gets the color of the pixel in the current row at the specified x coordinate as a ColorF value.
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.
GetPColor32 Gets the color of the pixel in the current row at the specified x coordinate as a PColor32 value.
GetPColor64 Gets the color of the pixel in the current row at the specified x coordinate as a PColor64 value.
GetPColorF Gets the color of the pixel in the current row at the specified x coordinate as a PColorF value.
ReadRawT Gets the underlying raw value within the current IReadableBitmapDataRow at the specified x coordinate.

See the online help for an example.

See Also