mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-17 12:44:31 +08:00
docs: 同步 template 文档
This commit is contained in:
1 parent
b782aee922
commit
9e6d2e9924
23 files changed
+1306
-245
No files matched your search
@@ -27,7 +27,7 @@ type ElementLocator = [
|
||||
- `w` `h`: 元素的长宽,描述了在没有缩放时元素的矩形长宽,默认是没有放缩的。
|
||||
- `ax` `ay`: 元素的锚点位置,描述了元素参考点的位置,所有位置变换等将以此点作为参考点。0 表示元素最左侧或最上侧,1 表示最右侧或最下侧,可以填不在 0-1 范围内的值,例如 `[-1, 1]` 表示锚点横坐标在元素左侧一个元素宽度的位置,纵坐标在元素下边缘的位置。
|
||||
|
||||

|
||||

|
||||
|
||||
示例如下:
|
||||
|
||||
|
||||
Reference in new issue
Block a user