diff --git a/includes/drawing.md b/includes/drawing.md new file mode 100644 index 00000000000..4b6006a7a65 --- /dev/null +++ b/includes/drawing.md @@ -0,0 +1,2 @@ +> [!WARNING] +> The `System.Drawing` namespace is not recommended for new development, due to not being supported within a Windows or ASP.NET service and it is not cross-platform. [ImageSharp](https://github.com/SixLabors/ImageSharp) and [SkiaSharp](https://github.com/mono/SkiaSharp) are recommended as alternatives. diff --git a/xml/ns-System.Drawing.Drawing2D.xml b/xml/ns-System.Drawing.Drawing2D.xml index 24678dbcf1a..7f3b0b8d956 100644 --- a/xml/ns-System.Drawing.Drawing2D.xml +++ b/xml/ns-System.Drawing.Drawing2D.xml @@ -5,6 +5,9 @@ namespace, grouped into categories. |Class category|Details| diff --git a/xml/ns-System.Drawing.Imaging.xml b/xml/ns-System.Drawing.Imaging.xml index 52615021f75..6293f3bbda3 100644 --- a/xml/ns-System.Drawing.Imaging.xml +++ b/xml/ns-System.Drawing.Imaging.xml @@ -5,6 +5,9 @@ class provides methods for recording and saving metafiles. The class enables users to extend GDI+ to support any image format. The class provides methods for storing and retrieving metadata in image files. > [!CAUTION] diff --git a/xml/ns-System.Drawing.xml b/xml/ns-System.Drawing.xml index 540cadf4f0a..91a01e0b819 100644 --- a/xml/ns-System.Drawing.xml +++ b/xml/ns-System.Drawing.xml @@ -5,6 +5,9 @@ class provides methods for drawing to the display device. Classes such as and encapsulate GDI+ primitives. The class is used to draw lines and curves, while classes derived from the abstract class are used to fill the interiors of shapes. > [!CAUTION]