网站地图    收藏   

主页 > 前端 > css教程 >

平铺文理+拉伸按钮图片 - html/css语言栏目:htm

来源:自学PHP网    时间:2015-04-14 14:50 作者: 阅读:

[导读] [html]UIColor *circleColorPattern = [UIColor colorWithPatternImage: [UIImage imageNamed:@node.png]]; [self.view setBackgroundColor:circleColorPattern]; UIImage *buttonBackgroundImage ......

[html]
UIColor *circleColorPattern = [UIColor colorWithPatternImage: 
                                  [UIImage imageNamed:@"node.png"]]; 
   [self.view setBackgroundColor:circleColorPattern]; 
    
    
   UIImage *buttonBackgroundImage = [[UIImage imageNamed:@"btnImage.jpg"] 
                                     resizableImageWithCapInsets:UIEdgeInsetsMake(0,13,0,13)]; 
   [self.m_Btn setBackgroundImage:buttonBackgroundImage 
                     forState:UIControlStateNormal]; 

 UIColor *circleColorPattern = [UIColor colorWithPatternImage:
                                   [UIImage imageNamed:@"node.png"]];
    [self.view setBackgroundColor:circleColorPattern];
   
   
    UIImage *buttonBackgroundImage = [[UIImage imageNamed:@"btnImage.jpg"]
                                      resizableImageWithCapInsets:UIEdgeInsetsMake(0,13,0,13)];
    [self.m_Btn setBackgroundImage:buttonBackgroundImage
                      forState:UIControlStateNormal];

 

自学PHP网专注网站建设学习,PHP程序学习,平面设计学习,以及操作系统学习

京ICP备14009008号-1@版权所有www.zixuephp.com

网站声明:本站所有视频,教程都由网友上传,站长收集和分享给大家学习使用,如由牵扯版权问题请联系站长邮箱904561283@qq.com

添加评论