RColorFromArgb 方法 (Int32, Int32, Int32, Int32) |
Creates a
RColor structure from the four ARGB component (alpha, red, green, and blue) values. Although this method allows a 32-bit value to be passed for each component, the value of each component is limited to 8 bits.
命名空间:
DSkin.Html.Adapters.Entities
程序集:
DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法public static RColor FromArgb(
int alpha,
int red,
int green,
int blue
)
参数
- alpha
- 类型:SystemInt32
The alpha component. Valid values are 0 through 255. - red
- 类型:SystemInt32
The red component. Valid values are 0 through 255. - green
- 类型:SystemInt32
The green component. Valid values are 0 through 255. - blue
- 类型:SystemInt32
The blue component. Valid values are 0 through 255.
返回值
类型:
RColor
The
RColor that this method creates.
异常
参见