ColorExtensions class¶
Defined in
Namespace: Splat
Assembly: Splat.Drawing.dll
Full name: Splat.ColorExtensions
Modifiers: public static
Summary¶
View source (opens in a new tab)
Provides extension methods for converting between System.Drawing.Color and native Android color representations.
Applies to
net11.0-android37.0, net11.0-windows10.0.19041, net10.0-android36.0, net10.0-windows10.0.17763, net10.0-windows10.0.19041, net47, net472, net471, net48, net481
Remarks¶
These methods enable seamless interoperability between .NET color types and Android's native color structures when developing cross-platform applications. All methods are static and intended for use as extension methods.
Methods¶
| Name | Summary |
|---|---|
| static FromNative | |
| static ToNative |
Inherited members
System.Object.Equals(System.Object)(opens in a new tab)System.Object.Equals(System.Object,System.Object)(opens in a new tab)System.Object.GetHashCode(opens in a new tab)System.Object.GetType(opens in a new tab)System.Object.MemberwiseClone(opens in a new tab)System.Object.ReferenceEquals(System.Object,System.Object)(opens in a new tab)System.Object.ToString(opens in a new tab)
Extension blocks¶
extension(Color other)¶
FromNative
extension(Color (opens in a new tab) other)¶
ToNative