Skip to content

Commit f290561

Browse files
Update refs and fix extensions docs.
1 parent a1b8097 commit f290561

7 files changed

Lines changed: 34 additions & 34 deletions

File tree

src/ImageSharp.Drawing/ImageSharp.Drawing.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
</ItemGroup>
2121

2222
<ItemGroup>
23-
<PackageReference Include="SixLabors.Fonts" Version="1.0.0-beta15.24" />
24-
<PackageReference Include="SixLabors.ImageSharp" Version="2.0.0-alpha.0.156" />
23+
<PackageReference Include="SixLabors.Fonts" Version="1.0.0-beta16" />
24+
<PackageReference Include="SixLabors.ImageSharp" Version="2.0.0" />
2525
</ItemGroup>
2626

2727
<Import Project="..\..\shared-infrastructure\src\SharedInfrastructure\SharedInfrastructure.projitems" Label="Shared" />

src/ImageSharp.Drawing/Processing/Extensions/DrawLineExtensions.cs

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@
66
namespace SixLabors.ImageSharp.Drawing.Processing
77
{
88
/// <summary>
9-
/// Adds extensions that allow the drawing of lines to the <see cref="Image{TPixel}"/> type.
9+
/// Adds extensions that allow the drawing of lines.
1010
/// </summary>
1111
public static class DrawLineExtensions
1212
{
1313
/// <summary>
14-
/// Draws the provided Points as an open Linear path at the provided thickness with the supplied brush
14+
/// Draws the provided points as an open linear path at the provided thickness with the supplied brush.
1515
/// </summary>
16-
/// <param name="source">The image this method extends.</param>
16+
/// <param name="source">The image processing context.</param>
1717
/// <param name="options">The options.</param>
1818
/// <param name="brush">The brush.</param>
19-
/// <param name="thickness">The thickness.</param>
19+
/// <param name="thickness">The line thickness.</param>
2020
/// <param name="points">The points.</param>
2121
/// <returns>The <see cref="IImageProcessingContext"/> to allow chaining of operations.</returns>
2222
public static IImageProcessingContext DrawLines(
@@ -28,11 +28,11 @@ public static IImageProcessingContext DrawLines(
2828
source.Draw(options, new Pen(brush, thickness), new Path(new LinearLineSegment(points)));
2929

3030
/// <summary>
31-
/// Draws the provided Points as an open Linear path at the provided thickness with the supplied brush
31+
/// Draws the provided points as an open linear path at the provided thickness with the supplied brush.
3232
/// </summary>
33-
/// <param name="source">The image this method extends.</param>
33+
/// <param name="source">The image processing context.</param>
3434
/// <param name="brush">The brush.</param>
35-
/// <param name="thickness">The thickness.</param>
35+
/// <param name="thickness">The line thickness.</param>
3636
/// <param name="points">The points.</param>
3737
/// <returns>The <see cref="IImageProcessingContext"/> to allow chaining of operations.</returns>
3838
public static IImageProcessingContext DrawLines(
@@ -43,11 +43,11 @@ public static IImageProcessingContext DrawLines(
4343
source.Draw(new Pen(brush, thickness), new Path(new LinearLineSegment(points)));
4444

4545
/// <summary>
46-
/// Draws the provided Points as an open Linear path at the provided thickness with the supplied brush
46+
/// Draws the provided points as an open linear path at the provided thickness with the supplied brush.
4747
/// </summary>
48-
/// <param name="source">The image this method extends.</param>
48+
/// <param name="source">The image processing context.</param>
4949
/// <param name="color">The color.</param>
50-
/// <param name="thickness">The thickness.</param>
50+
/// <param name="thickness">The line thickness.</param>
5151
/// <param name="points">The points.</param>
5252
/// <returns>The <see cref="IImageProcessingContext"/> to allow chaining of operations.</returns>
5353
public static IImageProcessingContext DrawLines(
@@ -58,12 +58,12 @@ public static IImageProcessingContext DrawLines(
5858
source.DrawLines(new SolidBrush(color), thickness, points);
5959

6060
/// <summary>
61-
/// Draws the provided Points as an open Linear path at the provided thickness with the supplied brush
61+
/// Draws the provided points as an open linear path at the provided thickness with the supplied brush.
6262
/// </summary>
63-
/// <param name="source">The image this method extends.</param>
63+
/// <param name="source">The image processing context.</param>
6464
/// <param name="options">The options.</param>
6565
/// <param name="color">The color.</param>
66-
/// <param name="thickness">The thickness.</param>
66+
/// <param name="thickness">The line thickness.</param>
6767
/// <param name="points">The points.</param>
6868
/// <returns>The <see cref="IImageProcessingContext"/> to allow chaining of operations.</returns>>
6969
public static IImageProcessingContext DrawLines(
@@ -75,9 +75,9 @@ public static IImageProcessingContext DrawLines(
7575
source.DrawLines(options, new SolidBrush(color), thickness, points);
7676

7777
/// <summary>
78-
/// Draws the provided Points as an open Linear path with the supplied pen
78+
/// Draws the provided points as an open linear path with the supplied pen.
7979
/// </summary>
80-
/// <param name="source">The image this method extends.</param>
80+
/// <param name="source">The image processing context.</param>
8181
/// <param name="options">The options.</param>
8282
/// <param name="pen">The pen.</param>
8383
/// <param name="points">The points.</param>
@@ -90,9 +90,9 @@ public static IImageProcessingContext DrawLines(
9090
source.Draw(options, pen, new Path(new LinearLineSegment(points)));
9191

9292
/// <summary>
93-
/// Draws the provided Points as an open Linear path with the supplied pen
93+
/// Draws the provided points as an open linear path with the supplied pen.
9494
/// </summary>
95-
/// <param name="source">The image this method extends.</param>
95+
/// <param name="source">The image processing context.</param>
9696
/// <param name="pen">The pen.</param>
9797
/// <param name="points">The points.</param>
9898
/// <returns>The <see cref="IImageProcessingContext"/> to allow chaining of operations.</returns>

src/ImageSharp.Drawing/Processing/Extensions/DrawPolygonExtensions.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
namespace SixLabors.ImageSharp.Drawing.Processing
77
{
88
/// <summary>
9-
/// Adds extensions that allow the drawing of closed linear polygons to the <see cref="Image{TPixel}"/> type.
9+
/// Adds extensions that allow the drawing of closed linear polygons.
1010
/// </summary>
1111
public static class DrawPolygonExtensions
1212
{
1313
/// <summary>
14-
/// Draws the provided Points as a closed Linear Polygon with the provided Pen.
14+
/// Draws the provided points as a closed linear polygon with the provided pen.
1515
/// </summary>
1616
/// <param name="source">The image this method extends.</param>
1717
/// <param name="pen">The pen.</param>
@@ -24,7 +24,7 @@ public static IImageProcessingContext DrawPolygon(
2424
source.Draw(source.GetDrawingOptions(), pen, new Polygon(new LinearLineSegment(points)));
2525

2626
/// <summary>
27-
/// Draws the provided Points as a closed Linear Polygon with the provided Pen.
27+
/// Draws the provided points as a closed linear polygon with the provided pen.
2828
/// </summary>
2929
/// <param name="source">The image this method extends.</param>
3030
/// <param name="options">The options.</param>
@@ -39,7 +39,7 @@ public static IImageProcessingContext DrawPolygon(
3939
source.Draw(options, pen, new Polygon(new LinearLineSegment(points)));
4040

4141
/// <summary>
42-
/// Draws the provided Points as a closed Linear Polygon with the provided brush at the provided thickness.
42+
/// Draws the provided points as a closed linear polygon with the provided brush at the provided thickness.
4343
/// </summary>
4444
/// <param name="source">The image this method extends.</param>
4545
/// <param name="options">The options.</param>
@@ -56,7 +56,7 @@ public static IImageProcessingContext DrawPolygon(
5656
source.DrawPolygon(options, new Pen(brush, thickness), points);
5757

5858
/// <summary>
59-
/// Draws the provided Points as a closed Linear Polygon with the provided brush at the provided thickness.
59+
/// Draws the provided points as a closed linear polygon with the provided brush at the provided thickness.
6060
/// </summary>
6161
/// <param name="source">The image this method extends.</param>
6262
/// <param name="brush">The brush.</param>
@@ -71,7 +71,7 @@ public static IImageProcessingContext DrawPolygon(
7171
source.DrawPolygon(new Pen(brush, thickness), points);
7272

7373
/// <summary>
74-
/// Draws the provided Points as a closed Linear Polygon with the provided brush at the provided thickness.
74+
/// Draws the provided points as a closed linear polygon with the provided brush at the provided thickness.
7575
/// </summary>
7676
/// <param name="source">The image this method extends.</param>
7777
/// <param name="color">The color.</param>
@@ -86,7 +86,7 @@ public static IImageProcessingContext DrawPolygon(
8686
source.DrawPolygon(new SolidBrush(color), thickness, points);
8787

8888
/// <summary>
89-
/// Draws the provided Points as a closed Linear Polygon with the provided brush at the provided thickness.
89+
/// Draws the provided points as a closed linear polygon with the provided brush at the provided thickness.
9090
/// </summary>
9191
/// <param name="source">The image this method extends.</param>
9292
/// <param name="options">The options.</param>

src/ImageSharp.Drawing/Processing/Extensions/DrawRectangleExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
namespace SixLabors.ImageSharp.Drawing.Processing
77
{
88
/// <summary>
9-
/// Adds extensions that allow the drawing of rectangles to the <see cref="Image{TPixel}"/> type.
9+
/// Adds extensions that allow the drawing of rectangles.
1010
/// </summary>
1111
public static class DrawRectangleExtensions
1212
{

src/ImageSharp.Drawing/Processing/Extensions/FillPathCollectionExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
namespace SixLabors.ImageSharp.Drawing.Processing
77
{
88
/// <summary>
9-
/// Adds extensions that allow the filling of collections of polygon outlines to the <see cref="Image{TPixel}"/> type.
9+
/// Adds extensions that allow the filling of collections of polygon outlines.
1010
/// </summary>
1111
public static class FillPathCollectionExtensions
1212
{

src/ImageSharp.Drawing/Processing/Extensions/FillPolygonExtensions.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
namespace SixLabors.ImageSharp.Drawing.Processing
77
{
88
/// <summary>
9-
/// Adds extensions that allow the filling of closed linear polygons to the <see cref="Image{TPixel}"/> type.
9+
/// Adds extensions that allow the filling of closed linear polygons.
1010
/// </summary>
1111
public static class FillPolygonExtensions
1212
{
1313
/// <summary>
14-
/// Flood fills the image in the shape of a Linear polygon described by the points
14+
/// Flood fills the image in the shape of a linear polygon described by the points
1515
/// </summary>
1616
/// <param name="source">The image this method extends.</param>
1717
/// <param name="options">The options.</param>
@@ -26,7 +26,7 @@ public static IImageProcessingContext FillPolygon(
2626
source.Fill(options, brush, new Polygon(new LinearLineSegment(points)));
2727

2828
/// <summary>
29-
/// Flood fills the image in the shape of a Linear polygon described by the points
29+
/// Flood fills the image in the shape of a linear polygon described by the points
3030
/// </summary>
3131
/// <param name="source">The image this method extends.</param>
3232
/// <param name="brush">The brush.</param>
@@ -39,7 +39,7 @@ public static IImageProcessingContext FillPolygon(
3939
source.Fill(brush, new Polygon(new LinearLineSegment(points)));
4040

4141
/// <summary>
42-
/// Flood fills the image in the shape of a Linear polygon described by the points
42+
/// Flood fills the image in the shape of a linear polygon described by the points
4343
/// </summary>
4444
/// <param name="source">The image this method extends.</param>
4545
/// <param name="options">The options.</param>
@@ -54,7 +54,7 @@ public static IImageProcessingContext FillPolygon(
5454
source.Fill(options, new SolidBrush(color), new Polygon(new LinearLineSegment(points)));
5555

5656
/// <summary>
57-
/// Flood fills the image in the shape of a Linear polygon described by the points
57+
/// Flood fills the image in the shape of a linear polygon described by the points
5858
/// </summary>
5959
/// <param name="source">The image this method extends.</param>
6060
/// <param name="color">The color.</param>

src/ImageSharp.Drawing/Processing/Extensions/FillRectangleExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
namespace SixLabors.ImageSharp.Drawing.Processing
77
{
88
/// <summary>
9-
/// Adds extensions that allow the filling of rectangles to the <see cref="Image{TPixel}"/> type.
9+
/// Adds extensions that allow the filling of rectangles.
1010
/// </summary>
1111
public static class FillRectangleExtensions
1212
{

0 commit comments

Comments
 (0)