码迷,mamicode.com
首页 >  
搜索关键字:anchor presets    ( 385个结果
cocos2d中锚点概念
这两天看了下锚点的概念。 /** * Sets the anchor point in percent. * * anchorPoint is the point around which all transformations and positioning manipulations t...
分类:其他好文   时间:2015-03-10 11:53:40    阅读次数:128
U3D UGUI学习2 - RectTransform
1.AnchorRectTransform相交于NGUI,其实稍显复杂。在NGUI 3.x里你要处理拉伸可以直接设置Anchor锚点模式,也可以挂全屏拉伸脚本。并且,NGUI里你可以设置任何节点作为父节点,而UGUI里你只能设置上一级作为父节点2.PivotNGUI里的Pivot设置很形象化,我知道...
分类:其他好文   时间:2015-03-07 11:20:31    阅读次数:5449
NGUI创建Camera参数为Simple 2D的UI UI对象的结构UI Root(2D)
NGUI创建Camera参数为Simple 2D的UI UI对象的结构UI Root(2D) 使用NGUI创建的Camera参数为Simple 2D的UI,会在游戏的场景中生成1个名为UI Root(2D)的游戏对象,且此对象下还包含了3个其它对象:Camera、Anchor和P...
分类:其他好文   时间:2015-03-06 10:41:25    阅读次数:140
cocos2dx九宫图使用方法
九宫格Sprite:itemBg = Scale9Sprite::create("pop/achieve_itembg.png");if(!itemBg)return false;itemBg->setAnchorPoint(Vec2::ANCHOR_MIDDLE);itemBg->setConte...
分类:其他好文   时间:2015-02-28 18:09:28    阅读次数:268
利用a标签自动解析URL
parseURL// This function creates a new anchor element and uses location// properties (inherent) to get the desired URL data. Some String// operations ...
分类:Web程序   时间:2015-02-26 18:29:11    阅读次数:162
PopupWindow随记
1、PopupWindow的显示及位置设置 window.showAtLocation(parent, Gravity.RIGHT | Gravity.BOTTOM, 10,10); 第一个参数指定PopupWindow的anchor(锚点)view,即依附在哪个view上。 第二个参数指定起始点为parent的右下角,第三个参数设置以parent的右下角为原点,...
分类:Windows程序   时间:2015-02-11 18:45:44    阅读次数:207
JS序列化URL方法
function serializeUrl(str){ var param = {}, hash = {}, anchor; var url = str || location.href; var arr = /([^?]*)([^#]*)(.*)/.exec(url); v...
分类:Web程序   时间:2015-02-05 12:55:26    阅读次数:1574
js字符串操作大全整理
1.anchor定义和用法anchor() 方法用于创建 HTML 锚。(可用于鼠标定位到哪里,给文本加上样式)stringObject.anchor(anchorname)参数描述anchorname必需。为锚定义名称实例1 View Code上面的代码将输出为纯粹的 HTML:1 Hello w...
分类:Web程序   时间:2015-02-04 18:15:47    阅读次数:109
PHP函数总结
1.以文件流形式接受POST过来的数据:$params=file_get_contents(‘php://input‘);2.parse_url解析url,返回其组成部分。例如:$php-r‘print_r(parse_url("http://username:password@hostname/path?arg=value#anchor"));‘ Array ( [scheme]=>http [host]=>hostname [user]=..
分类:Web程序   时间:2015-02-03 17:30:22    阅读次数:247
AllPay(欧付宝)支付接口集成
AllPay,http://www.allpay.com.tw/,欧付宝是台湾知名的第三方支付公司,拥有丰富的支付模式(支持和支付宝、财付通),只需要一次对接,各种支付模式均可使用。接口编写SDK:http://www.allpay.com.tw/Service/API_Help?Anchor=An...
分类:其他好文   时间:2015-01-23 21:29:34    阅读次数:4808
385条   上一页 1 ... 31 32 33 34 35 ... 39 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!