using UnityEngine;using System.Collections.Generic;public class UIWrapGrid : MonoBehaviour{ Transform mTrans; UIPanel mPanel; UIScrollView mScroll; .....
分类:
其他好文 时间:
2014-09-10 19:30:31
阅读次数:
169
2014年9月9日22:52:37p.uppercase {text-transform:uppercase;}p.lowercase {text-transform:lowercase;}p.capitalize {text-transform:capitalize;} //转大写,转小写,转首字...
分类:
Web程序 时间:
2014-09-10 00:22:09
阅读次数:
346
我们经常会在页面的左上角或者右上角看到类似如图所示的标签,比如页面的链接(最常使用)等,下面我们就实现一个简单的标签实现步骤是先做一个水平长条,使用CSS3的transform来实现旋转,如果是在左上角的话就逆时针旋转45度,右上角顺时针旋转45度。代码: 1 2 3 4 5 ...
分类:
Web程序 时间:
2014-09-09 18:02:09
阅读次数:
233
火狐中文网图片效果:[http://i.firefoxchina.cn/?www.firefoxchina.cn].news-img-wrapper:hover img {transform: rotate(5deg) scale(1.2);transition: all 0.3s linear 3...
分类:
Web程序 时间:
2014-09-09 12:24:38
阅读次数:
179
代码: 1 CAKeyframeAnimation *animation = [CAKeyframeAnimation animationWithKeyPath:@"transform.scale"]; 2 [animation setDuration:.6]; 3 NSMutabl...
分类:
其他好文 时间:
2014-09-09 12:02:38
阅读次数:
200
//实际项目中可以直接用GUI插件做个退出提示框。美观又和谐。public float uTime = 2; void OnGUI() { if (uTime < 2) { GUI.Label(new Rect(Screen.width/2...
分类:
其他好文 时间:
2014-09-09 12:02:08
阅读次数:
168
voiddraw(){
rect(20,20,60,60);
}
voidmousePressed(){
link("http://processingjs.org");
}
link(url);
link(url,target)
分类:
其他好文 时间:
2014-09-09 09:11:08
阅读次数:
185
voidsetup(){size(200,200);rectMode(CENTER);noFill();translate(100,100);for(inti=1;i<16;i++){rotate((PI/16)*i);rect(0,0,100,100);}}
分类:
其他好文 时间:
2014-09-09 09:10:58
阅读次数:
211
1.简介 构造数据类型PdfString封装Rect类,PdfAnalyzer类中定义一些PDF解析方法。2.PdfString类与Rect类public class PdfString : IComparable { public string Words { get; set...
分类:
其他好文 时间:
2014-09-07 01:01:44
阅读次数:
201