Bgra32 Struct
A pixel with 8-bit components and straight (non-premultiplied) alpha, stored in BGRA byte order.
public struct Bgra32 : IEquatable<Bgra32>- Implements
Constructors
| Name | Description |
|---|---|
| Bgra32(byte, byte, byte, byte) | Initializes a new instance of the Bgra32 struct from components in logical RGBA order. |
Bgra32(byte, byte, byte, byte)
Bgra32.csMethods
| Name | Description |
|---|---|
| Equals(Bgra32) | Indicates whether the current object is equal to another object of the same type. |
| Equals(object?) | Indicates whether this instance and a specified object are equal. |
| GetHashCode() | Returns the hash code for this instance. |
| ToString() | Returns the fully qualified type name of this instance. |
GetHashCode()
Bgra32.csToString()
Bgra32.csOperators
| Name | Description |
|---|---|
| operator ==(Bgra32, Bgra32) | Compares two pixels for equality. |
| operator !=(Bgra32, Bgra32) | Compares two pixels for inequality. |
operator ==(Bgra32, Bgra32)
Bgra32.csoperator !=(Bgra32, Bgra32)
Bgra32.csFields
| Name | Description |
|---|---|
| A | The straight alpha component (byte offset 3). |
| B | The blue component (byte offset 0). |
| G | The green component (byte offset 1). |
| R | The red component (byte offset 2). |
A
The straight alpha component (byte offset 3).
public byte AB
The blue component (byte offset 0).
public byte BG
The green component (byte offset 1).
public byte GR
The red component (byte offset 2).
public byte R