更新路牌
This commit is contained in:
@@ -12,7 +12,7 @@ export function StreetSignTag(text = "", param = "", width = 250, height = 150)
|
||||
ctx.fillStyle = "#003BA8";
|
||||
ctx.fillRect(0, 0, width, height);
|
||||
ctx.fillStyle = "white";
|
||||
ctx.font = "15px serif";
|
||||
ctx.font = "20px serif";
|
||||
ctx.fillText('隧道简称:' + text, (100 - text.length * 1) / 50, 40);
|
||||
ctx.fillText('隧道长度:' + param + 'm', (100 - param.length * 1) / 50, 115);
|
||||
ctx.strokeStyle = "white";
|
||||
Reference in New Issue
Block a user