Release Notes - 版本发布说明#
约 587 个字 预计阅读时间 4 分钟
- Version - 最新版本 :
2.6.20
- Release - 发布日期 : 2023/12/26
ChangeLog - 更新日志#
Optimized - 优化#
-
The pause and resume functionality of the image class
PhotoImage
is encapsulated in the methodspause
andplay
图片类PhotoImage
的暂停和继续播放功能被封装为方法pause
和play
-
Optimized the way the
PhotoImage
class gets the total number of frames of a gif image, and now you can get the total number of frames by methodget_total_frames
优化类PhotoImage
获取 gif 图片总帧数的方式,现在可以通过方法get_total_frames
得到总帧数 -
The
color
function no longer manually obtains a gradient with a specified regularity, but instead specifies a control function through the parametercontroller
函数color
不再通过手动方式得到指定规律的渐变色,而是通过参数controller
指定一个控制函数
Changed - 变更#
-
The original method of
play
used forPhotoImage
to start playback has been renamed tostart
to avoid conflicts with the method ofplay
to continue playback
图片类PhotoImage
原来用于开始播放的方法play
更名为start
避免与继续播放的方法play
起冲突 -
The constant
CONTROL
was renamedCONTROLLER
常量CONTROL
更名为CONTROLLER
Fixed - 修复#
- Fixed some incorrect type hints
修复了一些错误的类型提示
Todos - 待办事项#
Possible Features - 期望功能#
-
Perfect the scroll bar function of
Text
class
完善Text
类的滚动条功能 -
Perfection and optimization of zoom function
对缩放功能的完善和优化 -
Try adding support for some MarkDown syntax
尝试增加对部分 Markdown 语法的支持 -
Implement symmetry in 3D modules
实现 3D 模块中的对称功能 -
Enhanced projection functionality in 3D modules
增强 3D 模块中的投影功能 -
Add more 3D spatial geometry classes
增加更多 3D 空间几何体类 -
Add lights and achieve simple light and shadow renderings
添加光源,并实现简单的光影渲染的效果 -
Change the underlying calculation of the 3D submodule from “Euler angle” to “quaternion” to improve performance
改变 3D 子模块底层计算方式从“欧拉角”到“四元数”以提升性能
Known Bugs - 已知问题#
-
Solve the bug that text shrinks and overflows after zooming the
Text
class
解决Text
类缩放后文本产生缩水和溢出的 bug -
Fix the bug of deletion misalignment when there is too much text in the
Text
class
解决Text
类中文本过多时删减错位的 bug -
The position relationship between the space before and after the 3D object is still problematic at some point
3D 对象前后空间的位置关系在某些时候仍有问题