IWritableBitmapDataRow Interface

KGy SOFT Drawing Libraries Help
Provides a fast write-only access to a single row of the actual data of a Bitmap. The owner Bitmap can have any PixelFormat.
See the Remarks section of the GetReadWriteBitmapData method for details and examples.

Namespace:  KGySoft.Drawing.Imaging
Assembly:  KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 5.0.0
Syntax

public interface IWritableBitmapDataRow : IBitmapDataRow

The IWritableBitmapDataRow type exposes the following members.

Properties

  NameDescription
Public propertyIndex
Gets the index of the current row. Can fall between zero and Height of the owner IBitmapData (exclusive upper bound).
(Inherited from IBitmapDataRow.)
Public propertyItem
Sets the color of the pixel in the current row at the specified x coordinate.
See the Remarks section for details.
Top
Methods

  NameDescription
Public methodMoveNextRow
If not already in the last row (Index is less than Height of the owner IBitmapData), then advances the position of the current IBitmapDataRow instance so it points to the next row.
See the Examples section of the GetReadWriteBitmapData method for examples.
(Inherited from IBitmapDataRow.)
Public methodSetColor
Sets the color of the pixel in the current row at the specified x coordinate.
See the Remarks section for details.
Public methodSetColorIndex
If the owner Bitmap is an indexed one, then sets the color index of the pixel in the current row at the specified x coordinate.
See the Remarks section for details.
Public methodCode exampleWriteRawT
Sets the underlying raw value within the current IWritableBitmapDataRow at the specified x coordinate.
See the Remarks section for details and an example.
Top
See Also

Reference