老版本附图配置。默认分辨率300DPI(dots per inch, 像素/英寸)
图片左上角的坐标(X,Y)为(0, 0)
- X: x坐标轴, 单位 mm
- Y: y坐标轴, 单位 mm
- shape: image(图片), txt(文字,默认字体MicrosoftYaHei),circular(圆形),square(正方形),image(图片)
- size:大小,默认单位px(pixel),如果是文字,那么单位是pt (point)。
- txt: 显示的文字
- angle: 文字旋转角度
- url:图片的地址,如 "D:\\Desktop\\6853925158.jpg"
- width:图片宽度, 单位 mm
- height:图片高度, 单位 mm
[{
"X": 50.0,
"Y": 10.0,
"shape": "txt",
"color": "#000000",
"size": 50,
"txt": "显示的文字1",
"angle": 90
}, {
"X": 100.0,
"Y": 100.0,
"shape": "txt",
"color": "#000000",
"size": 50,
"txt": "显示的文字2"
}, {
"X": 110.0,
"Y": 110.0,
"shape": "circular",
"color": "#000000",
"size": 10,
"txt": ""
}, {
"X": 10.0,
"Y": 300.0,
"shape": "square",
"color": "#000000",
"size": 10,
"txt": ""
}, {
"X": 100.0,
"Y": 300.0,
"shape": "image",
"width": 50,
"height": 50,
"url": "D:\\Desktop\\6853925158.jpg"
}
]