xtd 0.2.0
Loading...
Searching...
No Matches

◆ stride() [2/2]

bitmap_data & xtd::drawing::imaging::bitmap_data::stride ( int32  value)
noexcept

Sets the stride width (also called scan width) of the xtd::drawing::bitmap object.

Parameters
valueThe stride width, in bytes, of the xtd::drawing::bitmap object.
Returns
This current instance.
Remarks
The stride is the width of a single row of pixels (a scan line), rounded up to a four-byte boundary. If the stride is positive, the bitmap is top-down. If the stride is negative, the bitmap is bottom-up.