它为输入颜色计算并返回经过过滤的rgb值。
It calculates and returns the filtered RGB values for an input color.
这个方法返回一个ByteArray,其中包含位图的指定矩形区域中每个像素的十六进制颜色值。
This method returns a ByteArray containing the hexadecimal color value of each pixel in a bitmap's specified rectangular region.
HTML5还定义类型的颜色,它可以让你选择一种颜色,返回hexademical值。
HTML5 also defined type color, which lets you pick a color and returns the hexademical value.
返回一个颜色对象它的灰度和透明度值都是0.0。
Returns a color object whose grayscale and alpha values are both 0.0.
返回一个颜色对象他的灰度值是1.0并且它的透明度是1.0。
Returns a color object whose grayscale value is 1.0 and whose alpha value is 1.0.
一个拥有不透明通道的子类需要重写这个方法来返回指定了透明值的颜色对象。
A subclass with explicit opacity components should override this method to return a color with the specified alpha.
初始化并返回使用指定的透明和RGB颜色值的颜色对象。
Initializes and returns a color object using the specified opacity and RGB component values.
创建并返回一个颜色对象使用指定的不透明的HSB颜色空间组件中的值。
Creates and returns a color object using the specified opacity and HSB color space component values.
初始化并返回颜色对象使用不透明的HSB颜色空间通道值。
Initializes and returns a color object using the specified opacity and HSB color space component values.
返回一个代表当前背景颜色的COLORREF值。如果这个值是- 1,则控件正使用系统的颜色作为背景色。
COLORREF value that represents the current background color. If this value is -1, the control is using the system color for the background color.
返回一个代表当前文本颜色的COLORREF值。如果这个值是- 1,则控件是使用系统颜色作为文本颜色。
COLORREF value that represents the current text color. If this value is -1, the control is using the system color for the text color.
也就是说返回的就是一个32位的颜色RGB值。
The COLORREF value is a 32-bit value used to specify an RGB color.
也就是说返回的就是一个32位的颜色RGB值。
The COLORREF value is a 32-bit value used to specify an RGB color.
应用推荐