Skip to content
This repository has been archived by the owner on Jun 22, 2022. It is now read-only.

26.杂项功能

[email protected] edited this page May 4, 2020 · 4 revisions

窗口大小常数

常数 GW :应用窗口宽度
常数 GH :应用窗口高度

修改应用窗口大小

找到应用窗口的Form_Load,根据注释修改StartEmerald的参数。

ToTime 函数

可以将以秒为单位的数转换为格式为“x:xx”的字符串。
返回值类型:String

参数名 类型 说明
time ? 以秒为单位的时间

Cubic 函数

贝塞尔曲线函数。 返回值类型:Single

参数名 类型 说明
t Single t
arg0 Single P0
arg1 Single P1
arg2 Single P2
arg3 Single P3

公式:
B(t)=P_0(1-t)^3+3P_1t(1-t)^2+3P_2t^2(1-t)+P_3t^3