Szerkesztés

Megosztás a következőn keresztül:


Color.G Property

Definition

Gets or sets the sRGB green channel value of the color.

public:
 property System::Byte G { System::Byte get(); void set(System::Byte value); };
public byte G { get; set; }
member this.G : byte with get, set
Public Property G As Byte

Property Value

The sRGB green channel value, as a value between 0 and 255.

Remarks

This struct represents the .NET projection of the Windows Runtime (WinRT) Color struct. For more information, see Color in the UWP API reference.

The color of each pixel is represented as a 32-bit number: 8 bits each for alpha, red, green, and blue (ARGB). Each of the four components is a number from 0 through 255, with 0 representing no intensity and 255 representing full intensity. Likewise, G is a value from 0 to 255 with 0 representing no green and 255 representing fully green.

Applies to