次の方法で共有


Color Constructor (Byte, Byte, Byte, Byte)

Initializes a new instance of Color.

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

Syntax

public Color (
         byte r,
         byte g,
         byte b,
         byte a
)

Parameters

  • r
    The red component of a color.
  • g
    The green component of a color.
  • b
    The blue component of a color.
  • a
    The alpha component of a color.

See Also

Reference

Color Structure
Color Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista