根据给定坐标数据绘制线框图,
要求可放大缩小绘图区
数据案例如:
{
"docTitle": "订单号",
"dxfOriginList": [
{
"type": 0,
"typeName": "线",
"valueDept": ["x1","y1", "x2", "y2"],
"values": [10,10, 20, 20]
},
{
"type": 4,
"typeName": "画笔",
"valueDept": ["strokewidth","color", "fontsize"],
"values": [8,"RED", 18 ]
},
{
"type": 5,
"typeName": "文本",
"valueDept": ["位置x","位置y", "文本"],
"values": [0,0, "text"]
},
{
"type": 6,
"typeName": "旋转",
"valueDept": ["旋转角度(90,180,360),int,默认null"],
"values": [180]
}
]
}