IWritableBitmapDataRow Interface

Provides fast write-only access to a single row of an IWritableBitmapData.
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 IWritableBitmapDataRow : 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 Sets the color of the pixel in the current row at the specified x coordinate from 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

SetColor Sets the color of the pixel in the current row at the specified x coordinate from a Color value.
SetColor32 Sets the color of the pixel in the current row at the specified x coordinate from a Color32 value.
SetColor64 Sets the color of the pixel in the current row at the specified x coordinate from a Color64 value.
SetColorF Sets the color of the pixel in the current row at the specified x coordinate from a ColorF value.
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.
SetPColor32 Sets the color of the pixel in the current row at the specified x coordinate from a PColor32 value.
SetPColor64 Sets the color of the pixel in the current row at the specified x coordinate from a PColor64 value.
SetPColorF Sets the color of the pixel in the current row at the specified x coordinate from a PColorF value.
WriteRawT Sets the underlying raw value within the current IWritableBitmapDataRow at the specified x coordinate.

See the online help for an example.

See Also