ColorExtensionsToWindowsColor(ColorF) Method
Namespace: KGySoft.Drawing.WinUIAssembly: KGySoft.Drawing.WinUI (in KGySoft.Drawing.WinUI.dll) Version: 9.0.0
public static Color ToWindowsColor(
this ColorF color
)
<ExtensionAttribute>
Public Shared Function ToWindowsColor (
color As ColorF
) As Color
public:
[ExtensionAttribute]
static Color ToWindowsColor(
ColorF color
)
[<ExtensionAttribute>]
static member ToWindowsColor :
color : ColorF -> Color
- color ColorF
- The source color.
ColorThe result of the conversion.In Visual Basic and C#, you can call this method as an instance method on any object of type
ColorF. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).