[SerializableAttribute]
public readonly struct Color64 : IEquatable<Color64>
<SerializableAttribute>
Public Structure Color64
Implements IEquatable(Of Color64)
[SerializableAttribute]
public value class Color64 : IEquatable<Color64>
[<SealedAttribute>]
[<SerializableAttribute>]
type Color64 =
struct
inherit ValueType
interface IEquatable<Color64>
end
Color64(Color32) | Initializes a new instance of the Color64 struct from a Color32 instance. |
Color64(UInt16, UInt16, UInt16) | Initializes a new instance of the Color64 struct from RGB (red, green, and blue) values. |
Color64(UInt16, UInt16, UInt16, UInt16) | Initializes a new instance of the Color64 struct from ARGB (alpha, red, green, and blue) values. |
Equals(Color64) | Determines whether the current Color64 instance is equal to another one. |
Equals(Object) |
Determines whether the specified Object is equal to this Color64 instance.
(Overrides ValueTypeEquals(Object)) |
FromArgb(Int64) | Creates a Color64 structure from a 64-bit ARGB value. |
FromArgb(UInt64) | Creates a Color64 structure from a 64-bit ARGB value. |
FromArgb(UInt16, Color64) | Creates a Color64 instance from the specified Color64 structure, but with the new specified alpha value. |
FromGray | Creates a Color64 structure representing a grayscale color of the specified brightness. |
FromRgb(Int64) | Creates a Color64 structure from a 48-bit RGB value. The highest two bytes of the specified integer are ignored and the A property of the result will be 65535. |
FromRgb(UInt64) | Creates a Color64 structure from a 48-bit RGB value. The highest two bytes of the specified integer are ignored and the A property of the result will be 65535. |
GetHashCode |
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode) |
ToArgb | Gets the 64-bit ARGB value of this Color64 instance. |
ToArgbUInt64 | Gets the 64-bit ARGB value of this Color64 instance. |
ToColor32 | Converts this Color64 instance to a Color32 structure. |
ToGray | Gets a Color64 instance that represents the matching gray shade of this Color64 instance based on human perception. |
ToOpaque | Gets a Color64 instance that represents this Color64 without alpha (transparency). |
ToRgb | Gets the 48-bit RGB value of this Color64 instance. The highest two of bytes of the returned integer are zero. |
ToRgbUInt64 | Gets the 48-bit RGB value of this Color64 instance. The highest two of bytes of the returned integer are zero. |
ToString |
Gets the string representation of this Color64 instance.
(Overrides ValueTypeToString) |
Equality(Color64, Color64) | Gets whether two Color64 structures are equal. |
Inequality(Color64, Color64) | Gets whether two Color64 structures are different. |
A | Gets the alpha component value of this Color64 structure. This field is read-only. |
B | Gets the blue component value of this Color64 structure. This field is read-only. |
G | Gets the green component value of this Color64 structure. This field is read-only. |
R | Gets the red component value of this Color64 structure. This field is read-only. |
Blend |
Blends the specified foreColor and backColor in the sRGB color space.
It returns foreColor if it has no transparency (that is, when A is 65535); otherwise, the result of the blending.
(Defined by ColorExtensions) |
Blend |
Blends the specified foreColor and backColor in the specified colorSpace.
It returns foreColor if it has no transparency (that is, when A is 65535); otherwise, the result of the blending.
(Defined by ColorExtensions) |
GetBrightness |
Gets the brightness of a Color64 instance as a UInt16 based on human perception.
The A component of the specified value is ignored.
(Defined by ColorExtensions) |
GetBrightness |
Gets the brightness of a Color64 instance as a UInt16 based on human perception.
The A component of the specified value is ignored.
(Defined by ColorExtensions) |
GetBrightnessF |
Gets the brightness of a Color64 instance as a float value based on human perception.
The A component of the specified value is ignored.
(Defined by ColorExtensions) |
GetBrightnessF |
Gets the brightness of a Color64 instance as a float value based on human perception.
The A component of the specified value is ignored.
(Defined by ColorExtensions) |
ToColor |
Converts this Color64 to a Color instance.
(Defined by ColorExtensions) |
ToColorF |
Converts this Color64 to a ColorF instance.
(Defined by ColorExtensions) |
ToColorF |
Converts this Color64 to a ColorF instance.
(Defined by ColorExtensions) |
TolerantEquals |
Gets whether two Color64 instances are equal using a specified tolerance.
(Defined by ColorExtensions) |
ToMediaColor |
Converts a Color64 struct to System.Windows.Media.Color.
(Defined by ColorExtensions) |
ToPColor32 |
Converts this Color64 to a PColor32 instance.
(Defined by ColorExtensions) |
ToPColor64 |
Converts this Color64 to a PColor64 instance.
It's practically the same as calling the ToPremultiplied(Color64) method.
(Defined by ColorExtensions) |
ToPColorF |
Converts this Color64 to a PColorF instance.
(Defined by ColorExtensions) |
ToPColorF |
Converts this Color64 to a PColorF instance.
(Defined by ColorExtensions) |
ToPremultiplied |
Converts this straight Color64 value to a premultiplied PColor64 value.
It's practically the same as calling the ToPColor64(Color64) method.
(Defined by ColorExtensions) |
ToSKColor |
Converts a Color64 struct to SKColor.
(Defined by ColorExtensions) |
ToSKColorF |
Converts a Color64 struct to SKColorF.
(Defined by ColorExtensions) |
ToSKPMColor |
Converts a Color64 struct to SKPMColor.
(Defined by ColorExtensions) |
ToWindowsColor |
Converts a Color64 struct to Windows.UI.Color.
(Defined by ColorExtensions) |