Files

17 lines
403 B
Plaintext
Raw Permalink Normal View History

@startuml MouseUp
start
: 取得这个点在虚拟世界的坐标;
: 计算现在坐标跟原先坐标的偏移;
if (状态是移动) then (yes)
: 记录移动事件;
elseif (状态是四面扩展) then (yes)
: 记录四面扩展事件;
elseif (状态是8方扩展) then (yes)
: 记录8方扩展事件;
elseif (状态是矩形选择) then (yes)
: 记录选择绘图;
endif
stop
@enduml