ImageSurface.getStride

Get the stride of the image surface in bytes Since 1.2

class ImageSurface
int
getStride
()

Return Value

Type: int

the stride of the image surface in bytes (or 0 if surface is not an image surface). The stride is the distance in bytes from the beginning of one row of the image data to the beginning of the next row.