ColorExtensions Class

Contains extension methods for the Color type.

Definition

Namespace: KGySoft.Drawing.WinUI
Assembly: KGySoft.Drawing.WinUI (in KGySoft.Drawing.WinUI.dll) Version: 7.0.0-preview.4
C#
public static class ColorExtensions
Inheritance
Object    ColorExtensions

Methods

ToColor32 Converts a Windows.UI.Color struct to KGySoft.Drawing.Imaging.Color32.
ToDrawingColor Converts a Windows.UI.Color struct to System.Drawing.Color.
ToWindowsColor(Color) Converts a System.Drawing.Color struct to Windows.UI.Color.
ToWindowsColor(Color32) Converts a KGySoft.Drawing.Imaging.Color32 struct to Windows.UI.Color.

See Also