Skip to content

Commit f90116b

Browse files
authored
Merge pull request #4601 from dotnet/publish-17593
Merge master into live
2 parents 3001e6b + 3ee5a62 commit f90116b

File tree

4 files changed

+11
-0
lines changed

4 files changed

+11
-0
lines changed

includes/drawing.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
> [!WARNING]
2+
> 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.

xml/ns-System.Drawing.Drawing2D.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
<format type="text/markdown"><![CDATA[
66
77
## Remarks
8+
9+
[!INCLUDE[drawing](~/includes/drawing.md)]
10+
811
The following table lists some of the important classes and enumerations in the <xref:System.Drawing.Drawing2D> namespace, grouped into categories.
912
1013
|Class category|Details|

xml/ns-System.Drawing.Imaging.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
<format type="text/markdown"><![CDATA[
66
77
## Remarks
8+
9+
[!INCLUDE[drawing](~/includes/drawing.md)]
10+
811
The <xref:System.Drawing.Imaging.Metafile> class provides methods for recording and saving metafiles. The <xref:System.Drawing.Imaging.Encoder> class enables users to extend GDI+ to support any image format. The <xref:System.Drawing.Imaging.PropertyItem> class provides methods for storing and retrieving metadata in image files.
912
1013
> [!CAUTION]

xml/ns-System.Drawing.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
<format type="text/markdown"><![CDATA[
66
77
## Remarks
8+
9+
[!INCLUDE[drawing](~/includes/drawing.md)]
10+
811
The <xref:System.Drawing.Graphics> class provides methods for drawing to the display device. Classes such as <xref:System.Drawing.Rectangle> and <xref:System.Drawing.Point> encapsulate GDI+ primitives. The <xref:System.Drawing.Pen> class is used to draw lines and curves, while classes derived from the abstract class <xref:System.Drawing.Brush> are used to fill the interiors of shapes.
912
1013
> [!CAUTION]

0 commit comments

Comments
 (0)