Rsvg.DimensionData¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
em |
r/w |
SVG’s original width, unmodified by |
|
ex |
r/w |
SVG’s original height, unmodified by |
|
height |
r/w |
SVG’s height, in pixels |
|
width |
r/w |
SVG’s width, in pixels |
Methods¶
None
Details¶
- class Rsvg.DimensionData¶
Dimensions of an SVG image from [method`Rsvg`.Handle.get_dimensions], or an individual element from [method`Rsvg`.Handle.get_dimensions_sub]. Please see the deprecation documentation for those functions.
Deprecated since version 2.46.: Use [method`Rsvg`.Handle.get_intrinsic_size_in_pixels] or [method`Rsvg`.Handle.get_geometry_for_layer] instead.