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