แก้ไข

แชร์ผ่าน


Color.B Property

Definition

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

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

Property Value

The sRGB blue 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, B is a value from 0 to 255 with 0 representing no blue and 255 representing fully blue.

Applies to