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

◆ stride() [1/2]

int32 xtd::drawing::imaging::bitmap_data::stride ( ) const
noexcept

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

Returns
The stride width, in bytes, of the xtd::drawing::bitmap object.
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.