首次提交:本地项目同步到Gitea
This commit is contained in:
17
LibShapes/UML/MouseUp.puml
Normal file
17
LibShapes/UML/MouseUp.puml
Normal file
@@ -0,0 +1,17 @@
|
||||
@startuml MouseUp
|
||||
start
|
||||
: 取得这个点在虚拟世界的坐标;
|
||||
: 计算现在坐标跟原先坐标的偏移;
|
||||
if (状态是移动) then (yes)
|
||||
: 记录移动事件;
|
||||
elseif (状态是四面扩展) then (yes)
|
||||
: 记录四面扩展事件;
|
||||
elseif (状态是8方扩展) then (yes)
|
||||
: 记录8方扩展事件;
|
||||
elseif (状态是矩形选择) then (yes)
|
||||
: 记录选择绘图;
|
||||
endif
|
||||
stop
|
||||
|
||||
|
||||
@enduml
|
||||
Reference in New Issue
Block a user