码迷,mamicode.com
首页 >  
搜索关键字:layer    ( 3637个结果
UIButton使用详解
UIButton *signBtn = [UIButton buttonWithType:UIButtonTypeCustom]; signBtn.frame = CGRectMake(0, 0, 80, 40); [signBtn.layer setMasksToBounds:YES]; [signBtn.layer setCornerRadius:10.0]; //设置矩形四个圆角半径 ...
分类:其他好文   时间:2014-08-19 16:31:58    阅读次数:213
ROUTE+ 2 layer Switch (多VLAN)
Route使用子接口配置fa0/0无IP并激活interfaceFastEthernet0/0noipaddressnoshut配置子接口1fa0/0.1interfaceFastEthernet0/0.1encapsulationdot1Q2(VLAN2)ipaddress10.10.10.1255.255.255.0noshut配置子接口2fa0/0.2interfaceFastEthernet0/0.2encapsulationdot1Q3(VLAN3)..
分类:其他好文   时间:2014-08-19 11:07:35    阅读次数:255
ArcGIS移动客户端离线地图的几种解决方案[转]
原文地址:http://blog.chinaunix.net/uid-10914615-id-3023158.html移动GIS中,通常将数据分为两大类:basemap layer和operational layer。前者是指漫游或导航时起参考作用的图层,这些图层内容通常不会变化,只起到视觉辅助作用...
分类:移动开发   时间:2014-08-19 10:53:33    阅读次数:396
彻底理解position与anchorPoint
引言 相信初接触到CALayer的人都会遇到以下几个问题:  为什么修改anchorPoint会移动layer的位置? CALayer的position点是哪一点呢? anchorPoint与position有什么关系? 我也迷惑过,找过网上的教程,大部分都是复制粘贴的,有些是翻译的文章但很有问题,看得似懂非懂,还是自己写代码彻底弄懂了,做点笔记吧。 每一个UIView内部...
分类:其他好文   时间:2014-08-18 23:37:53    阅读次数:420
pcap文件的文件头的link type
http://www.tcpdump.org/linktypes.htmlLink-layer header type valuesLINKTYPE_ nameLINKTYPE_ valueCorresponding DLT_ nameDescriptionLINKTYPE_NULL0DLT_NUL...
分类:其他好文   时间:2014-08-18 23:20:33    阅读次数:610
获取View的快照
//获取快照- (UIView*)customSnapshotInView:(UIView*)inview{ UIView *snapshot = [inview snapshotViewAfterScreenUpdates:YES]; snapshot.layer.shadowColo...
分类:其他好文   时间:2014-08-18 15:55:32    阅读次数:222
Cocos2d-x3.2 ClippingNode裁减节点(模板遮罩)
//GameScene.h #include?"cocos2d.h" USING_NS_CC; class?GameScene?:?public?cocos2d::Layer { public: ????static?cocos2d::Scene*?createScene(); ???? ????virtual?bool?init(); ??...
分类:其他好文   时间:2014-08-17 02:37:42    阅读次数:530
Cocos2d-x3.2 碰撞检测--圆形
//GameScene.h #include?"cocos2d.h" USING_NS_CC; class?GameScene?:?public?cocos2d::Layer { public: ????static?cocos2d::Scene*?createScene(); ???? ????virtual?bool?init(); ??...
分类:其他好文   时间:2014-08-16 23:55:31    阅读次数:544
OC开发学习过程中的一些小经验
1、引入头文件以及框架 : @import XXXX XXXX表示需要引入的文件/框架2、头文件引用循环:两个头文件相互包含时,将其中一个头文件的类用@class引入3、设置边角幅度 :[ XX.layer setCornerRadius:100 ] ; XX表示需要设置边角的对象,一般...
分类:其他好文   时间:2014-08-16 23:42:11    阅读次数:211
[Django] Base class in the model layer
In the model layer, the Model class is the base class while the ModelBase class is metaclass. They are the entry points of the whole model layer...
分类:其他好文   时间:2014-08-16 22:32:31    阅读次数:282
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!