Skip to content

FlashTang/UITransform-Openfl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

此库已弃用,有兴趣可查看这个版本

https://github.com/FlashTang/TransformTool-Openfl

This project was deprecated, for better one check this link:

https://github.com/FlashTang/TransformTool-Openfl

UITransform-Openfl

在akifox-transform的基础上集成了UI

依赖:akifox-transform

用法: 步骤1:安装依赖库:https://github.com/yupswing/akifox-transform haxelib install akifox-transform

步骤2: 在 project.xml 中添加: <haxelib name="akifox-transform" />

步骤3: 复制 UITransform.hx 文件到你的项目中

然后把你要进行变换的 DisplayObject(shape ,sprite, movieclip .. ) 加载到显示列表中 然后, 一句代码:

UITransform.make(yourSprite);

P.S. 没完成,目前只能旋转变换,拖动中心点以改变旋转中心

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages