BMNG构造函数深入分析 一、主要类图 二、主要功能: 1) BMNG类 BMNG类将包含以“Blue Marble”为主题的所有可渲染影像的根节点添加到当前星球的可渲染对象列表中,包括“ \Data\Earth\BmngBathy\”目录下的随源代码发布的12幅图像、从NASA服务器上下载的经过分
转载:http://blog.csdn.net/carson2005/article/details/6243892 RGB颜色空间: RGB(red,green,blue)颜色空间最常用的用途就是显示器系统(计算机、电视机等都是采用RGB颜色空间来进行图像显示)。一般来说,电脑,电视机等是利用三个
分类:
其他好文 时间:
2016-03-09 23:47:20
阅读次数:
316
// 设置segment的显示项 self.mySegment=[[UISegmentedControl alloc]initWithItems:@[@"red",@"blue",@"green"]]; // 添加项 [self.mySegment insertSegmentWithTitle:@"
分类:
其他好文 时间:
2016-03-09 22:33:08
阅读次数:
234
switch (buttonIndex) { case 0: aColor = [UIColor redColor]; bColor = [UIColor colorWithRed:0.97 green:0.68 blue:0.75 alpha:1.0];// 鸨色 break; case 1: a
分类:
其他好文 时间:
2016-03-06 14:09:02
阅读次数:
134
关于颜色的宏定义 // 根据指定的 RGB 创建 UIColor #define RGB(r, g, b) ([UIColor colorWithRed:(r / 255.0) green:(g / 255.0) blue:(b / 255.0) alpha:1.0]) /// 创建随机颜色 #de
分类:
其他好文 时间:
2016-03-04 10:24:33
阅读次数:
155
<ItemTemplate> <tr <%# Eval("dayu20").ToString()=="0"? "style='color:red;'" :"style='color:blue;'" %> style =" background-color:white;"> <td style="ba
分类:
其他好文 时间:
2016-03-02 13:07:53
阅读次数:
118
Constant 描述 默认值 kaptcha.border 图片边框,合法值:yes , no yes kaptcha.border.color 边框颜色,合法值: r,g,b (and optional alpha) 或者 white,black,blue. black kaptcha.bord
分类:
其他好文 时间:
2016-03-01 14:20:41
阅读次数:
145
看样子这个文档是难以看懂了。直接看示例: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 import collections s = [('yellow', 1), ('blue', 2), ('yellow', 3), ('blue', 4), ('re
分类:
编程语言 时间:
2016-02-27 13:46:08
阅读次数:
247
水波纹效果 Code 1.-(void)drawRect:(CGRect)rect {2. [super drawRect:rect];3. [[UIColor colorWithRed:22 / 255.0 green:163 / 255.0 blue:130 / 255.0 alpha:1] s
分类:
其他好文 时间:
2016-02-24 22:37:15
阅读次数:
263
Android 修改底部导航栏navigationbar的颜色 getWindow().setNavigationBarColor(Color.BLUE); //写法一 getWindow().setNavigationBarColor(getResources().getColor(R.color
分类:
移动开发 时间:
2016-02-24 15:35:29
阅读次数:
427