美文网首页代码改变世界干货
网站设计资源导出神器: Cut&Slice

网站设计资源导出神器: Cut&Slice

作者: FunToYoung | 来源:发表于2014-12-16 21:28 被阅读139次

网址,http://www.cutandslice.me/

优点,一键导出资源

用法:

1.Organise your elements in groups, as if they were objects.

以组组织你的元素

2.Add @ at the end ofthe layer name you want to export

, the content will be exported as a png trimming all transparent pixels.

在你要导出资源的层后面加个@,那么会导出为一张 png 图片

3.If you want your file to bea particular size

, then create a rectangular vector as first layer and name it #. Your group will be exported at that size.

如果你想导出特指大小的图片,在其前面创建一个矢量图形,并命名为 # ,那么导出的图片将会是原来的尺寸

4.Include "_BTN" to exportall states in your buttons

. Add groups containing your button states and name them as follows:

normal

hover

clicked / pressed

selected

disabled

为你的按钮增加_BTN 导出按钮的特定状态,命名有:

normal 

hover 

clicked/pressed

selected

disabled

相关文章

网友评论

    本文标题:网站设计资源导出神器: Cut&Slice

    本文链接:https://www.haomeiwen.com/subject/mrfntttx.html