ImageSurface.getWidth

Get the width of the image surface in pixels. Since 1.0

class ImageSurface
int
getWidth
()

Return Value

Type: int

the width of the surface in pixels.