Handle.width

Get width property.

More...
class Handle
@property
int
width
()

Return Value

Type: int

Width, in pixels, of the rendered SVG after calling the size callback as specified by rsvg.handle.Handle.setSizeCallback.

Detailed Description

Deprecated: For historical reasons, this property is of integer type, which cannot give the exact size of SVG images that are not pixel-aligned. Moreover, reading each of the size properties causes the size of the SVG to be recomputed, so reading both the width and height properties will cause two such computations. Please use rsvg.handle.Handle.getIntrinsicDimensions instead.