次の方法で共有


Color.GetAlphaComponent(Int32) Method

Definition

Gets the Alpha component from an integer color.

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

Parameters

color
Int32

An integer representation of a color (ARGB).

Returns

Alpha component [0-255].

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to