码迷,mamicode.com
首页 >  
搜索关键字:layer    ( 3637个结果
裁减图片
[_postNewTopicBtn.imageView.layer setCornerRadius:20];[_postNewTopicBtn.imageView.layer setMasksToBounds:YES];
分类:其他好文   时间:2015-05-21 19:06:16    阅读次数:96
layer.msg(msg, time, parme)设置图标问题
layer.msg只提到3个参数,实际上有第4个参数,第4个参数就是msg关闭后执行的回调。layer.msg('提示', 2, 1, function(){})第一个参数:提示第二个参数:自动关闭时间第三个参数:图标类型第四个参数:msg关闭后执行的回调layer.msg() 和 layer.al...
分类:其他好文   时间:2015-05-21 12:39:34    阅读次数:14034
jquery layer弹窗弹层插件 小巧强大
/*先去官网下载最新的jshttp://sentsin.com/jquery/layer/①引用jquery②引用layer.min.js*/触发弹层的事件可自由绑定,如:$('#id').on('click',function(){layer.msg('test');});下面主要贴出上述例子的调...
分类:Web程序   时间:2015-05-21 12:34:38    阅读次数:116
一个扇形的动画效果
用cashapelayer和core animation实现的一个扇形的动画效果。直接贴代码 可以让cashapelayer跟着动画里面的一个path动态的绘图-(void)addarcanimation{ CAShapeLayer *linelayer=[CAShapeLayer layer...
分类:其他好文   时间:2015-05-20 23:57:54    阅读次数:158
解题报告 之 ZOJ3877 Earthstone Keeper
ACM,图论,ZOJ3877 ,Earthstone Keeper,双条件最短路 Earthstone Keeper is a famous roguelike game created by Lizard Entertainment. In this game, an adventurer will explore in a single layer dungeon of N × M size. The adventurer starts at the room (SR, SC) and he wants...
分类:其他好文   时间:2015-05-19 19:09:26    阅读次数:114
openssl建立证书,非常详细配置ssl+apache
一,什么是ssl SSL证书通过在客户端浏览器和Web服务器之间建立一条SSL安全通道(Secure socket layer(SSL)安全协议是由Netscape Communication公司设计开发。该安全协议主要用来提供对用户和服务器的认证;对传送...
分类:Web程序   时间:2015-05-19 11:01:50    阅读次数:139
spacemacs的加载次序
spacemacs适用版本介于24.4和24.5之间,重点解决了以下几个问题 利用package包管理器,下载扩展非常方便,几乎不需要手工操作 用户不需要直接安装package,而是为特定场景创建layer,一个layer可以包含多个packa...
分类:系统相关   时间:2015-05-17 21:59:38    阅读次数:1267
Altium 自定义任意PCB形状
1 、在PCB页面,用Keep-Out Layer画出板子形状(封闭的形状)2 、按住Shift依次选中Keep-Out Layer线条3 、Design --> Board Shape --> Define from selected objects。掏洞 1、Design / Board sh....
分类:其他好文   时间:2015-05-17 20:16:23    阅读次数:110
IOS方形头像如何变成圆形
方法一:直接使用UIView对应图层的cornerRadius self.layer.cornerRadius = CGRectGetWidth(self.bounds)/2.f; self.clipsToBounds = YES;方法二:使用图层遮罩 CAShapeLayer...
分类:移动开发   时间:2015-05-17 18:11:46    阅读次数:439
iOS 在控制台console lldb 输出某个view 的层级结构
在控制台 LLDB 环境中 po[self.view recursiveDescription]就可以输出 该 view的层级结构; layer = > | > | ; layer = > | | > | | | > | | > | | > | | | > | > | | > |...
分类:移动开发   时间:2015-05-15 19:48:21    阅读次数:304
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!