共用方式為


Color.A Property

Gets or sets the alpha component value.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public byte A { get; set; }

Property Value

The alpha component value of this Color.

See Also

Reference

Color Structure
Color Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone