Skip to content

Commit 04f599f

Browse files
Bump Drawing to v1
1 parent 45e661d commit 04f599f

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

articles/imagesharp.drawing/gettingstarted.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
# Getting Started
22

3-
>[!WARNING]
4-
>ImageSharp.Drawing is still considered BETA quality and we still reserve the rights to change the API shapes.
5-
63
>[!NOTE]
74
>The official guide assumes intermediate level knowledge of C# and .NET. If you are totally new to .NET development, it might not be the best idea to jump right into a framework as your first step - grasp the basics then come back. Prior experience with other languages and frameworks helps, but is not required.
85
@@ -53,8 +50,8 @@ DrawingOptions options = new()
5350
}
5451
};
5552

56-
IBrush brush = Brushes.Horizontal(Color.Red, Color.Blue);
57-
IPen pen = Pens.DashDot(Color.Green, 5);
53+
Brush brush = Brushes.Horizontal(Color.Red, Color.Blue);
54+
Pen pen = Pens.DashDot(Color.Green, 5);
5855
IPath yourPolygon = new Star(x: 100.0f, y: 100.0f, prongs: 5, innerRadii: 20.0f, outerRadii:30.0f);
5956

6057
// Draws a star with horizontal red and blue hatching with a dash dot pattern outline.
@@ -100,7 +97,7 @@ Image image = ...; // Create any way you like.
10097
Font font = ...; // See our Fonts library for best practices on retrieving one of these.
10198
10299
// The options are optional
103-
TextOptions options = new(font)
100+
RichTextOptions options = new(font)
104101
{
105102
Origin = new PointF(100, 100), // Set the rendering origin.
106103
TabWidth = 8, // A tab renders as 8 spaces wide

ext/ImageSharp.Drawing

Submodule ImageSharp.Drawing updated 237 files

0 commit comments

Comments
 (0)