A8 Struct
An 8-bit alpha (coverage) value without color, for alpha masks.
public struct A8 : IEquatable<A8>Remarks
The pixel has no color: it reads as black with its alpha ((0, 0, 0, A)) in every conversion to another pixel format, and a conversion to A8 keeps the alpha of the source and discards its color.
- Implements
Constructors
| Name | Description |
|---|---|
| A8(byte) | Initializes a new instance of the A8 struct. |
A8(byte)
A8.csMethods
| Name | Description |
|---|---|
| Equals(A8) | 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()
A8.csToString()
A8.csOperators
| Name | Description |
|---|---|
| operator ==(A8, A8) | Compares two pixels for equality. |
| operator !=(A8, A8) | Compares two pixels for inequality. |
operator ==(A8, A8)
A8.csoperator !=(A8, A8)
A8.csFields
| Name | Description |
|---|---|
| A | The alpha component (0 is fully transparent, 255 is fully opaque). |
A
The alpha component (0 is fully transparent, 255 is fully opaque).
public byte A