In this case, you create a color instance and use it to set a particular pixel within the display window (see Listing 2 and Figure 3, cell b).
在本例中,我们创建了一个颜色实例并用它来设置显示窗口内的某个像素点(参见清单2和图3中的cellb)。
To demonstrate the new AWT features, we'll create a program that sizes the screen to the full size (minus desktop adornments like the toolbar) and USES the new color constants to set the background.
为演示新的AWT功能,我们将创建一个程序将屏幕设为全屏(最小化桌面装饰如工具栏)并使用新的颜色常量设置背景。
Open Photoshop and create a new document using the this dimensions 1020px X 1240px, and set the background color to #e6e9d4
好了,让我们开始吧。打开photoshop创建一个新文档,尺寸是1020pxX 1240px,背景颜色设置为 #e6e9d4。
Step 2 Create a new layer then select the brush tool and choose a large soft brush, now set the foreground color to any bright color.
第2步创建一个新的层然后选择画笔工具,并选择一个大软刷,现在的前景颜色设置任何亮丽的色彩。
Step 2 Create a new layer then select the brush tool and choose a large soft brush, now set the foreground color to any bright color.
第2步创建一个新的层然后选择画笔工具,并选择一个大软刷,现在的前景颜色设置任何亮丽的色彩。
应用推荐