La16 Struct
A pixel with an 8-bit gray level and an 8-bit straight (non-premultiplied) alpha component, stored in that byte order.
public struct La16 : IEquatable<La16>Remarks
It holds a grayscale image with transparency in half the memory of Rgba32.
- Implements
Constructors
| Name | Description |
|---|---|
| La16(byte, byte) | Initializes a new instance of the La16 struct. |
La16(byte, byte)
La16.csMethods
| Name | Description |
|---|---|
| Equals(La16) | 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()
La16.csToString()
La16.csOperators
| Name | Description |
|---|---|
| operator ==(La16, La16) | Compares two pixels for equality. |
| operator !=(La16, La16) | Compares two pixels for inequality. |
operator ==(La16, La16)
La16.csoperator !=(La16, La16)
La16.csFields
| Name | Description |
|---|---|
| A | The straight alpha component (0 is fully transparent, 255 is fully opaque). |
| L | The gray level (0 is black, 255 is white), in the encoded (not linear) scale. |
A
The straight alpha component (0 is fully transparent, 255 is fully opaque).
public byte AL
The gray level (0 is black, 255 is white), in the encoded (not linear) scale.
public byte L