From bc169183bac0a0e8c3b77b70a3fea7430665cc25 Mon Sep 17 00:00:00 2001 From: taoya7 <569781231@qq.com> Date: Tue, 12 Mar 2024 22:17:09 +0800 Subject: [PATCH] docs: . --- src/command/Label.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/command/Label.ts b/src/command/Label.ts index 848bcf6..498c9e7 100644 --- a/src/command/Label.ts +++ b/src/command/Label.ts @@ -464,6 +464,14 @@ export class LabelCommand { this.addStrToCommand(str); } + /** + * 绘制方框 + * @param x 方框左上角 X 座标,单位:dot + * @param y 方框左上角 Y 座标,单位:dot + * @param xend 方框右下角 X 座标,单位:dot + * @param yend 方框右下角 X 座标,单位:dot + * @param thickness 方框线条粗細,单位:dot + */ addBox( x: number, y: number,