.plisthtml
[html] view plaincopyprint?app
<EMBED id=ZeroClipboardMovie_1 height=14 name=ZeroClipboardMovie_1 type=application/x-shockwave-flash align=middle pluginspage=http://www.macromedia.com/go/getflashplayer width=29 src=http://static.blog.csdn.net/scripts/ZeroClipboard/ZeroClipboard.swf wmode="transparent" flashvars="id=1&width=29&height=14" allowfullscreen="false" allowscriptaccess="always" bgcolor="#ffffff" quality="best" menu="false" loop="false">oop
<key>scorIcon.png</key> spa
<dict> .net
<key>frame</key> htm
<string>{{937,2},{56,63}}</string> blog
<key>offset</key> 圖片
<string>{0,0}</string> ip
<key>rotated</key> get
<true/>
<key>sourceColorRect</key>
<string>{{0,0},{56,63}}</string>
<key>sourceSize</key>
<string>{56,63}</string>
</dict>
例如上面的一個key
frame:在大圖中的座標已經寬度,程序會根據這個來作剪輯。
offset:在合成大圖的過程當中texture-package會吧原圖透明的部分刪除,這張新的圖片與原圖它們的中心點之間的向量。
rotated:若是值爲true,圖片順時針旋轉90度
sourceColorRect:截取原圖透明部分的座標已經大小。
sourceSize:原圖的大小。也是sprite的大小