語言

Color.GetGreenComponent(Int32) 方法

定義

從填充的 ARGB 彩色整數中提取綠色成分。

public static int GetGreenComponent(int color);
static member GetGreenComponent : int -> int

參數

color
Int32

一個打包的 ARGB 顏色整數,例如 由 ToArgb()返回的值。

傳回

綠色 color分量在0–255範圍內。

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於