点击或拖拽改变大小

RColorFromArgb 方法 (Int32, Int32, Int32)

Creates a RColor structure from the specified 8-bit color values (red, green, and blue). The alpha value is implicitly 255 (fully opaque). Although this method allows a 32-bit value to be passed for each color component, the value of each component is limited to 8 bits.

命名空间:  DSkin.Html.Adapters.Entities
程序集:  DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法
C#
public static RColor FromArgb(
	int red,
	int green,
	int blue
)

参数

red
类型:SystemInt32
The red component value for the new RColor. Valid values are 0 through 255.
green
类型:SystemInt32
The green component value for the new RColor. Valid values are 0 through 255.
blue
类型:SystemInt32
The blue component value for the new RColor. Valid values are 0 through 255.

返回值

类型:RColor
The RColor that this method creates.
异常
异常条件
ArgumentExceptionred, green, or blue is less than 0 or greater than 255.
参见