Skip to content

Commit

Permalink
Update refs and fix extensions docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
JimBobSquarePants committed Feb 9, 2022
1 parent a1b8097 commit f290561
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 34 deletions.
4 changes: 2 additions & 2 deletions src/ImageSharp.Drawing/ImageSharp.Drawing.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
</ItemGroup>

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

<Import Project="..\..\shared-infrastructure\src\SharedInfrastructure\SharedInfrastructure.projitems" Label="Shared" />
Expand Down
34 changes: 17 additions & 17 deletions src/ImageSharp.Drawing/Processing/Extensions/DrawLineExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@
namespace SixLabors.ImageSharp.Drawing.Processing
{
/// <summary>
/// Adds extensions that allow the drawing of lines to the <see cref="Image{TPixel}"/> type.
/// Adds extensions that allow the drawing of lines.
/// </summary>
public static class DrawLineExtensions
{
/// <summary>
/// Draws the provided Points as an open Linear path at the provided thickness with the supplied brush
/// Draws the provided points as an open linear path at the provided thickness with the supplied brush.
/// </summary>
/// <param name="source">The image this method extends.</param>
/// <param name="source">The image processing context.</param>
/// <param name="options">The options.</param>
/// <param name="brush">The brush.</param>
/// <param name="thickness">The thickness.</param>
/// <param name="thickness">The line thickness.</param>
/// <param name="points">The points.</param>
/// <returns>The <see cref="IImageProcessingContext"/> to allow chaining of operations.</returns>
public static IImageProcessingContext DrawLines(
Expand All @@ -28,11 +28,11 @@ public static IImageProcessingContext DrawLines(
source.Draw(options, new Pen(brush, thickness), new Path(new LinearLineSegment(points)));

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

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

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

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

/// <summary>
/// Draws the provided Points as an open Linear path with the supplied pen
/// Draws the provided points as an open linear path with the supplied pen.
/// </summary>
/// <param name="source">The image this method extends.</param>
/// <param name="source">The image processing context.</param>
/// <param name="pen">The pen.</param>
/// <param name="points">The points.</param>
/// <returns>The <see cref="IImageProcessingContext"/> to allow chaining of operations.</returns>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
namespace SixLabors.ImageSharp.Drawing.Processing
{
/// <summary>
/// Adds extensions that allow the drawing of closed linear polygons to the <see cref="Image{TPixel}"/> type.
/// Adds extensions that allow the drawing of closed linear polygons.
/// </summary>
public static class DrawPolygonExtensions
{
/// <summary>
/// Draws the provided Points as a closed Linear Polygon with the provided Pen.
/// Draws the provided points as a closed linear polygon with the provided pen.
/// </summary>
/// <param name="source">The image this method extends.</param>
/// <param name="pen">The pen.</param>
Expand All @@ -24,7 +24,7 @@ public static IImageProcessingContext DrawPolygon(
source.Draw(source.GetDrawingOptions(), pen, new Polygon(new LinearLineSegment(points)));

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

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

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

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

/// <summary>
/// Draws the provided Points as a closed Linear Polygon with the provided brush at the provided thickness.
/// Draws the provided points as a closed linear polygon with the provided brush at the provided thickness.
/// </summary>
/// <param name="source">The image this method extends.</param>
/// <param name="options">The options.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
namespace SixLabors.ImageSharp.Drawing.Processing
{
/// <summary>
/// Adds extensions that allow the drawing of rectangles to the <see cref="Image{TPixel}"/> type.
/// Adds extensions that allow the drawing of rectangles.
/// </summary>
public static class DrawRectangleExtensions
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
namespace SixLabors.ImageSharp.Drawing.Processing
{
/// <summary>
/// Adds extensions that allow the filling of collections of polygon outlines to the <see cref="Image{TPixel}"/> type.
/// Adds extensions that allow the filling of collections of polygon outlines.
/// </summary>
public static class FillPathCollectionExtensions
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
namespace SixLabors.ImageSharp.Drawing.Processing
{
/// <summary>
/// Adds extensions that allow the filling of closed linear polygons to the <see cref="Image{TPixel}"/> type.
/// Adds extensions that allow the filling of closed linear polygons.
/// </summary>
public static class FillPolygonExtensions
{
/// <summary>
/// Flood fills the image in the shape of a Linear polygon described by the points
/// Flood fills the image in the shape of a linear polygon described by the points
/// </summary>
/// <param name="source">The image this method extends.</param>
/// <param name="options">The options.</param>
Expand All @@ -26,7 +26,7 @@ public static IImageProcessingContext FillPolygon(
source.Fill(options, brush, new Polygon(new LinearLineSegment(points)));

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

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

/// <summary>
/// Flood fills the image in the shape of a Linear polygon described by the points
/// Flood fills the image in the shape of a linear polygon described by the points
/// </summary>
/// <param name="source">The image this method extends.</param>
/// <param name="color">The color.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
namespace SixLabors.ImageSharp.Drawing.Processing
{
/// <summary>
/// Adds extensions that allow the filling of rectangles to the <see cref="Image{TPixel}"/> type.
/// Adds extensions that allow the filling of rectangles.
/// </summary>
public static class FillRectangleExtensions
{
Expand Down

0 comments on commit f290561

Please sign in to comment.