Property Stride
- Namespace
- PaintDotNet
- Assembly
- PaintDotNet.Core.dll
Stride
Gets the stride, in bytes, for this Surface.
public int Stride { get; }
Property Value
Remarks
Stride is defined as the number of bytes between the beginning of a row and the beginning of the next row. Thus, in loose C notation: stride = (byte *)&this[0, 1] - (byte *)&this[0, 0]. Stride will always be equal to or greater than Width * ColorBgra.SizeOf. This property will never throw an ObjectDisposedException.