ImageDef¶
IMAGEDEF entity defines an image file, which can be placed by the Image entity.
Subclass of |
|
DXF type |
|
Factory function (1) |
|
Factory function (2) |
Warning
Do not instantiate object classes by yourself - always use the provided factory functions!
-
class
ezdxf.entities.ImageDef¶ -
dxf.class_version¶ Current version is
0.
-
dxf.filename¶ Relative (to the DXF file) or absolute path to the image file as string.
-
dxf.image_size¶ Image size in pixel as
(x, y)tuple.
-
dxf.pixel_size¶ Default size of one pixel in drawing units as
(x, y)tuple.
-
dxf.loaded¶ 0= unloaded;1= loaded, default =1
-
dxf.resolution_units¶ 0
No units
2
Centimeters
5
Inch
Default =
0
-