IReadWriteBitmapDataRowMovable Interface

KGy SOFT Drawing Libraries Help
Represents a single row of an IReadWriteBitmapData instance that allows setting its position to any row.
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 IReadWriteBitmapDataRowMovable : IReadWriteBitmapDataRow, 
	IReadableBitmapDataRow, IBitmapDataRow, IWritableBitmapDataRow, IReadableBitmapDataRowMovable, IBitmapDataRowMovable, 
	IWritableBitmapDataRowMovable

The IReadWriteBitmapDataRowMovable 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
Gets or sets the color of the pixel in the current row at the specified x coordinate.
See the Remarks section for details.
(Inherited from IReadWriteBitmapDataRow.)
Public propertySize
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.)
Public propertyWidth
Gets the width of the row in pixels.
(Inherited from IBitmapDataRow.)
Top
Methods

  NameDescription
Public methodGetColor
Gets the color of the pixel in the current row at the specified x coordinate.
See the Remarks section for details.
(Inherited from IReadableBitmapDataRow.)
Public methodGetColorIndex
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.
See the Remarks section for details.
(Inherited from IReadableBitmapDataRow.)
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 IBitmapDataRowMovable instance so it points to the next row.
See the Examples section of the GetReadWriteBitmapData method for examples.
(Inherited from IBitmapDataRowMovable.)
Public methodMoveToRow
Moves the current IBitmapDataRowMovable to the specified row of the underlying IBitmapData.
(Inherited from IBitmapDataRowMovable.)
Public methodCode exampleReadRawT
Gets the underlying raw value within the current IReadableBitmapDataRow at the specified x coordinate.
See the Remarks section for details and an example.
(Inherited from IReadableBitmapDataRow.)
Public methodSetColor
Sets the color of the pixel in the current row at the specified x coordinate.
See the Remarks section for details.
(Inherited from IWritableBitmapDataRow.)
Public methodSetColorIndex
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.
See the Remarks section for details.
(Inherited from IWritableBitmapDataRow.)
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.
(Inherited from IWritableBitmapDataRow.)
Top
See Also

Reference