码迷,mamicode.com
首页 >  
搜索关键字:layer    ( 3637个结果
layer和3D仿射变换
1、视图的显示基于图层,通过控制图层同样能控制显示效果,获取当前的视图的layer,并为其增加圆角边框。 //设置layer边框的宽度为2 view.layer.borderWidth=2; //如果需要为layer添加颜色需要转换为CGColor对象 view.layer.border...
分类:其他好文   时间:2015-04-07 11:32:05    阅读次数:123
reshat系统中安装MPEG-1 Layer 3(MP3)解码器
在Linux系统中,当我们需要播放声音或者是视频的时候,经常提示错误说我们需要安装一个插件:MPEG-1 Layer 3(MP3)解码器         安装方法:1、下载插件: 32位的系统:http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm              ...
分类:其他好文   时间:2015-04-06 12:56:34    阅读次数:670
ios- uitextview的详细使用方法
textView.layer.borderWidth=5;textView.layer.borderColor=[[UIColorcolorWithRed:0.52green:0.09blue:0.07alpha:0.5]CGColor];textView.layer.contents=(id)[U...
分类:移动开发   时间:2015-04-06 06:11:14    阅读次数:157
cocos2d-x 头文件中添加方法变量导致编译报错
代码如下: HelloWorldScene.h #ifndef __HELLOWORLD_SCENE_H__#define __HELLOWORLD_SCENE_H__ #include "cocos2d.h"class HelloWorld : public cocos2d::Layer{publ...
分类:其他好文   时间:2015-04-04 22:25:40    阅读次数:288
Swift语言iOS开发:CALayer十则示例(转)
http://mobile.51cto.com/iphone-469498.htm如你所知,我们在iOS应用中看到的都是视图(view),包括按钮视图、表视图、滑动条视图,还有可以容纳其他视图的父视图等。但你或许不知道在iOS中支撑起每个视图的是一个叫做"图层(layer)"的类,确切地说是CALa...
分类:移动开发   时间:2015-04-02 15:00:04    阅读次数:269
nopCommerce开发者指南(三):nopCommerce 数据访问层
原文链接:http://docs.nopcommerce.com/display/nc/The+nopCommerce+Data+Access+Layer翻译 by:yersans,如有不妥,敬请指正,博主邮箱:zhanglei0591@qq.com。转载请注明出处。Nop.Data项目文件包含数据...
分类:其他好文   时间:2015-04-02 11:39:41    阅读次数:117
layer的alert图
layer的一些效果
分类:其他好文   时间:2015-04-01 19:13:23    阅读次数:119
通过layer的contents属性来实现uiimageview的淡入切换
#import "ViewController.h"@interface ViewController ()@property(nonatomic,strong)CALayer *imageLayer;@end@implementation ViewController- (void)viewDid...
分类:其他好文   时间:2015-03-31 00:25:10    阅读次数:166
通过改变uiview的layer的frame来实现进度条
#import @interface ProgressView : UIView@property(nonatomic,assign)CGFloat progress;@property(nonatomic,strong)UIColor *layColor;@end#import "Progress...
分类:其他好文   时间:2015-03-30 22:56:27    阅读次数:128
Sprite(精灵)
用来作为以后复习使用。 1 #include "ScenceScend.h" 2 3 CCScene* ScenceScend::scene() 4 { 5 CCScene* s = CCScene::create(); 6 ScenceScend* layer = ScenceS...
分类:其他好文   时间:2015-03-30 20:37:32    阅读次数:172
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!