码迷,mamicode.com
首页 >  
搜索关键字:colors    ( 1060个结果
使用RampTexture来控制diffuse shading
【RampTexture】 RampTexture(渐变纹理),可以是1D/2D纹理. This allows you to accentuate the surface's colors to fake the effects of more bounce light or a more ad.....
分类:其他好文   时间:2014-09-18 13:04:43    阅读次数:250
WPF 画刷应用
纯色:SolidColorBrush brush = new SolidColorBrush(Colors.White);window1.Background = brush;渐变色:LinearGradientBrush buttonBrush = new LinearGradientBrush(...
分类:其他好文   时间:2014-09-16 12:31:40    阅读次数:235
C# Enum,Int,String的互相转换
【C# Enum,Int,String的互相转换】1、Enum-->String(1)利用Object.ToString()方法:如Colors.Green.ToString()的值是"Green"字符串;(2)利用Enum的静态方法GetName与GetNames: public static.....
分类:其他好文   时间:2014-09-15 21:08:09    阅读次数:174
grub背景
#yum -y install ImageMagick "安装图片转换的相关工具#convert -geometry 640×480 -colors 14 splash.jpg splash.xpm "转换我使用的图片#cp splash.xpm /boot/grub "复制到grub目录#cd /...
分类:其他好文   时间:2014-09-15 11:12:28    阅读次数:209
组合数学 - 波利亚定理 --- poj : 2154 Color
ColorTime Limit:2000MSMemory Limit:65536KTotal Submissions:7873Accepted:2565DescriptionBeads of N colors are connected together into a circular neckla...
分类:其他好文   时间:2014-09-12 01:10:02    阅读次数:322
【LeetCode】【Python】Sort Colors
Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, white and blue. Here, we will use the integers ...
分类:编程语言   时间:2014-09-11 19:26:52    阅读次数:196
Pygame 打方块
import traceback import random import pygame from pygame.locals import * pygame.display.init() pygame.font.init() sizes = { "screen" : ( 300, 480 ) } colors = { "font" : ( 138, 69, 252 ), ...
分类:其他好文   时间:2014-09-09 18:19:59    阅读次数:350
pygame.draw.line
import traceback import math import pygame from pygame.locals import * pygame.display.init() pygame.font.init() sizes = { "screen" : ( 300, 480 ) } colors = { "line" : ( 255, 255, 255 ), ...
分类:其他好文   时间:2014-09-09 16:11:49    阅读次数:368
pygame 初记
import traceback import pygame from pygame.locals import * pygame.display.init() sizes = { "screen" : [ 640, 480 ] } colors = { "screen" : ( 255, 255, 255 ) } screen = pygame.display.set_m...
分类:其他好文   时间:2014-09-09 12:36:08    阅读次数:229
Eclipse字体环境的设置
使用Eclipse时,字体大小的设置步骤: 写代码的时候,字体美一点,字号大一点且粗一点,这样能使心情愉悦,同时也对眼睛有利。 Eclipse中的字体设置方法是,选择Window菜单中的Preferences,然后在左侧菜单中选择General中的Colors and Fonts,选中右侧Jav.....
分类:系统相关   时间:2014-09-07 17:07:45    阅读次数:222
1060条   上一页 1 ... 93 94 95 96 97 ... 106 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!