共用方式為


Color.GetGreenComponent(Int32) 方法

定義

從整數色彩取得綠色元件。

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

參數

color
Int32

色彩的整數表示法(ARGB)。

傳回

綠色元件 [0-255]。

備註

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於