【文件属性】:
文件名称:Tibezier:Titanium 的 iOS UIBezierPath 包装器
文件大小:1.44MB
文件格式:ZIP
更新时间:2021-06-10 05:36:20
Makefile
Titanium 的 iOS UIBezierPath 包装器。
安装
Git 克隆存储库,解压缩guy.mcdooooo.tibezier-iphone-1.0.0.zip包并将modules/iphone/guy.mcdooooo.tibezier放入项目的modules/iphone文件夹中。
要从 JavaScript 访问此模块,您需要执行以下操作:
var Drawer = require ( "guy.mcdooooo.tibezier" ) ;
Drawer变量是对 Module 对象的引用。
画一颗心
var win = Ti . UI . createWindow ( {
backgroundColor : 'white'
} ) ;
var canvas = Drawer . createView ( {
width : 88 ,
height : 7