Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
shelllet committed Mar 26, 2024
1 parent 8ea0c21 commit 5c3c844
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 23 deletions.
4 changes: 3 additions & 1 deletion docx/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# [0.34](https://github.com/shelllet/winui/compare/main...dev) (2024-3-xx)
# [0.34](https://github.com/shelllet/winui/compare/main...dev) (2024-4-xx)

### Changed:

1. 改进预览和调试功能。
2. 发送按键支持 <kbd>Alt</kbd> + <kbd>Tab</kbd>。
3. 关机动作优化,增加注销和重启功能。
4. 图像相对位置标记支持 左中,右中,上中,下中。
4. 变量支持备注

### Deprecated:

Expand Down
9 changes: 1 addition & 8 deletions docx/actions/image/ImageMarkROI.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,14 @@
* 图像
> 待处理的图像
* 区域
> 需要操作的区域
> 需要操作的区域,参考:[RelativePosition](./enums/RelativePosition.md)


## 输出

> 标记后的图像,图像大小保持不变。
## 脚本调用

```python
import simple;

```

## 资源

示例:https://github.com/shelllet/WinUi/blob/main/image/ImageMarkROI.simple
Expand Down
18 changes: 5 additions & 13 deletions docx/actions/window/WindowPoint.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
## 运行参数

* [window](./types/Wnd.md)
> 窗口
* [relative](./enums/RelativePosition.md)
> 相对位置,坐标轴 (X,Y) 方向根据不同的位置方向有所不同,参考下图。
* 窗口
> 参考:[Wnd](./types/Wnd.md)
* 相对位置
> 相对位置,参考:[RelativePosition](./enums/RelativePosition.md)坐标轴 (X,Y) 方向根据不同的位置方向有所不同,参考下图。
![xy](./images/xy.png ':size=40%')

* [offset](./types/Point.md)
* 偏移
> 原点偏移量(坐标系参考上图)。坐标轴(x, y)方向参考上面草图。

Expand All @@ -28,14 +28,6 @@
> 窗口坐标 [Point](./types/Point.md)


## 脚本调用

```python
import simple;

```

## 资源

示例:https://github.com/shelllet/WinUi/blob/main/window/WindowPoint.simple
Expand Down
11 changes: 10 additions & 1 deletion docx/enums/RelativePosition.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,13 @@
* BottomLeft
> 左下角
* BottomRight
>右下角
>右下角
* CENTER_LEFT
> 左中
* CENTER_RIGHT
> 右中
* CENTER_TOP
> 上中
* CENTER_BOTTOM
> 下中

0 comments on commit 5c3c844

Please sign in to comment.