dotnet-core/release-notes/5.0/api-diff/netstandard2.1/5.0_System.Drawing.md

51 lines
2.1 KiB
Markdown
Raw Normal View History

# System.Drawing
``` diff
namespace System.Drawing {
+ public static class ColorTranslator {
+ public static Color FromHtml(string htmlColor);
+ public static Color FromOle(int oleColor);
+ public static Color FromWin32(int win32Color);
+ public static string ToHtml(Color c);
+ public static int ToOle(Color c);
+ public static int ToWin32(Color c);
+ }
+ public static class SystemColors {
+ public static Color ActiveBorder { get; }
+ public static Color ActiveCaption { get; }
+ public static Color ActiveCaptionText { get; }
+ public static Color AppWorkspace { get; }
+ public static Color ButtonFace { get; }
+ public static Color ButtonHighlight { get; }
+ public static Color ButtonShadow { get; }
+ public static Color Control { get; }
+ public static Color ControlDark { get; }
+ public static Color ControlDarkDark { get; }
+ public static Color ControlLight { get; }
+ public static Color ControlLightLight { get; }
+ public static Color ControlText { get; }
+ public static Color Desktop { get; }
+ public static Color GradientActiveCaption { get; }
+ public static Color GradientInactiveCaption { get; }
+ public static Color GrayText { get; }
+ public static Color Highlight { get; }
+ public static Color HighlightText { get; }
+ public static Color HotTrack { get; }
+ public static Color InactiveBorder { get; }
+ public static Color InactiveCaption { get; }
+ public static Color InactiveCaptionText { get; }
+ public static Color Info { get; }
+ public static Color InfoText { get; }
+ public static Color Menu { get; }
+ public static Color MenuBar { get; }
+ public static Color MenuHighlight { get; }
+ public static Color MenuText { get; }
+ public static Color ScrollBar { get; }
+ public static Color Window { get; }
+ public static Color WindowFrame { get; }
+ public static Color WindowText { get; }
+ }
}
```