From 8da9a9c9b2504dcc747518af0a7210d14ec88fd2 Mon Sep 17 00:00:00 2001 From: James Jackson-South Date: Fri, 22 Jan 2021 04:42:12 +0000 Subject: [PATCH] Tweak language --- articles/imagesharp/pixelformats.md | 4 +- .../Fonts/SixLabors.Fonts.FontCollection.html | 63 ++++------- .../Fonts/SixLabors.Fonts.FontInstance.html | 3 +- ...ors.ImageSharp.Drawing.ComplexPolygon.html | 35 ++---- ...ors.ImageSharp.Drawing.EllipsePolygon.html | 100 ++++++------------ .../SixLabors.ImageSharp.Drawing.Path.html | 88 +++++---------- ...ors.ImageSharp.Drawing.PathCollection.html | 12 +-- ...wing.Processing.EllipticGradientBrush.html | 26 ++--- ...harp.Drawing.Processing.GradientBrush.html | 26 ++--- ....ImageSharp.Drawing.Processing.IBrush.html | 1 + ...geSharp.Drawing.Processing.ImageBrush.html | 26 ++--- ...rawing.Processing.LinearGradientBrush.html | 26 ++--- ....Drawing.Processing.PathGradientBrush.html | 26 ++--- ...Sharp.Drawing.Processing.PatternBrush.html | 26 ++--- ...ors.ImageSharp.Drawing.Processing.Pen.html | 9 +- ....Processors.Drawing.DrawPathProcessor.html | 1 + ....Processors.Drawing.FillPathProcessor.html | 1 + ...sing.Processors.Drawing.FillProcessor.html | 1 + ...rocessors.Drawing.FillRegionProcessor.html | 1 + ...ing.Processors.Text.DrawTextProcessor.html | 1 + ...rawing.Processing.RadialGradientBrush.html | 26 ++--- ...Sharp.Drawing.Processing.RecolorBrush.html | 26 ++--- ...geSharp.Drawing.Processing.SolidBrush.html | 26 ++--- ...ImageSharp.Drawing.RectangularPolygon.html | 88 +++++---------- docs/index.json | 34 +++--- docs/manifest.json | 60 ++++++----- 26 files changed, 256 insertions(+), 480 deletions(-) diff --git a/articles/imagesharp/pixelformats.md b/articles/imagesharp/pixelformats.md index 218d6692..d5d09087 100644 --- a/articles/imagesharp/pixelformats.md +++ b/articles/imagesharp/pixelformats.md @@ -16,10 +16,10 @@ Take a look at the various pixel formats available under @"SixLabors.ImageSharp. Creating your own pixel format is a case of defining a struct implementing @"SixLabors.ImageSharp.PixelFormats.IPixel`1" and using it as a generic argument for @"SixLabors.ImageSharp.Image`1". Baseline batched pixel-conversion primitives are provided via @"SixLabors.ImageSharp.PixelFormats.PixelOperations`1" but it is possible to override those baseline versions with your own optimized implementation. -### I have a monochrome image and I want to store it in a compact way. Can I store a pixel on a single bit? +### Is it possible to store a pixel on a single bit for monochrome images? No. Our architecture does not allow sub-byte pixel formats at the moment. This feature is incredibly complex to implement, and you are going to pay the price of the low memory footprint in processing speed / CPU load. -### Can I decode into pixel formats like [CMYK](https://en.wikipedia.org/wiki/CMYK_color_model) or [CIELAB](https://en.wikipedia.org/wiki/Lab_color_space)? +### It is possible to decode into pixel formats like [CMYK](https://en.wikipedia.org/wiki/CMYK_color_model) or [CIELAB](https://en.wikipedia.org/wiki/Lab_color_space)? Unfortunately it's not possible and is unlikely to be in the future. Many image processing operations expect the pixels to be laid out in-memory in RGBA format. To manipulate images in exotic colorspaces we would have to translate each pixel to-and-from the colorspace multiple times, which would result in unusable performance and a loss of color information. diff --git a/docs/api/Fonts/SixLabors.Fonts.FontCollection.html b/docs/api/Fonts/SixLabors.Fonts.FontCollection.html index 8313a67c..dac36452 100644 --- a/docs/api/Fonts/SixLabors.Fonts.FontCollection.html +++ b/docs/api/Fonts/SixLabors.Fonts.FontCollection.html @@ -155,8 +155,7 @@

Families

-

Gets the collection of FontFamily objects associated with this FontCollection in the invariant culture.

-
+
Declaration
@@ -173,8 +172,7 @@ IEnumerable<FontFamily> -

The families.

- + @@ -189,8 +187,7 @@

FamiliesByCulture(CultureInfo)

-

Gets the collection of FontFamily objects associated with this FontCollection.

-
+
Declaration
@@ -209,8 +206,7 @@ CultureInfo culture -

The culture to use while getting the family name from the installed set of fonts.

- + @@ -225,8 +221,7 @@ IEnumerable<FontFamily> -

The set of fonts families using the fonts culture aware font name

- + @@ -239,8 +234,7 @@

Find(String)

-

Finds the specified font family using the invariant culture font family name.

-
+
Declaration
@@ -259,8 +253,7 @@ String fontFamily -

The font family.

- + @@ -275,8 +268,7 @@ FontFamily -

The family if installed otherwise throws FontFamilyNotFoundException

- + @@ -289,8 +281,7 @@

Find(String, CultureInfo)

-

Finds the specified font family.

-
+
Declaration
@@ -309,14 +300,12 @@ String fontFamily -

The font family.

- + CultureInfo culture -

The culture to use while getting the family name from the installed set of fonts.

- + @@ -331,8 +320,7 @@ FontFamily -

The family if installed otherwise throws FontFamilyNotFoundException

- + @@ -1135,8 +1123,7 @@

TryFind(String, out FontFamily)

-

Finds the specified font family using the invariant culture font family name.

-
+
Declaration
@@ -1155,14 +1142,12 @@ String fontFamily -

The font family to find.

- + FontFamily family -

The found family.

- + @@ -1177,8 +1162,7 @@ Boolean -

true if a font of that family has been installed into the font collection.

- + @@ -1191,8 +1175,7 @@

TryFind(String, CultureInfo, out FontFamily)

-

Finds the specified font family.

-
+
Declaration
@@ -1211,20 +1194,17 @@ String fontFamily -

The font family to find.

- + CultureInfo culture -

The culture to use while getting the family name from the installed set of fonts.

- + FontFamily family -

The found family.

- + @@ -1239,8 +1219,7 @@ Boolean -

true if a font of that family has been installed into the font collection.

- + diff --git a/docs/api/Fonts/SixLabors.Fonts.FontInstance.html b/docs/api/Fonts/SixLabors.Fonts.FontInstance.html index 26a7b00a..e041b6c9 100644 --- a/docs/api/Fonts/SixLabors.Fonts.FontInstance.html +++ b/docs/api/Fonts/SixLabors.Fonts.FontInstance.html @@ -198,8 +198,7 @@

Description

-

Gets the basic descripton of the font instance type.

-
+
Declaration
diff --git a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.ComplexPolygon.html b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.ComplexPolygon.html index 8fec334a..a23e106f 100644 --- a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.ComplexPolygon.html +++ b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.ComplexPolygon.html @@ -649,9 +649,7 @@ that the line intersects.

FindIntersections(PointF, PointF, Span<PointF>)

-

Based on a line described by start and end -populate a buffer for all points on the polygon that the line intersects.

-
+
Declaration
@@ -670,20 +668,17 @@ populate a buffer for all points on the polygon that the line intersects.

PointF start -

The start point of the line.

- + PointF end -

The end point of the line.

- + Span<PointF> buffer -

The buffer that will be populated with intersections.

- + @@ -698,8 +693,7 @@ populate a buffer for all points on the polygon that the line intersects.

Int32 -

The number of intersections populated into the buffer.

- + @@ -712,9 +706,7 @@ populate a buffer for all points on the polygon that the line intersects.

FindIntersections(PointF, PointF, Span<PointF>, IntersectionRule)

-

Based on a line described by start and end -populate a buffer for all points on the polygon that the line intersects.

-
+
Declaration
@@ -733,26 +725,22 @@ populate a buffer for all points on the polygon that the line intersects.

PointF start -

The start point of the line.

- + PointF end -

The end point of the line.

- + Span<PointF> buffer -

The buffer that will be populated with intersections.

- + IntersectionRule intersectionRule -

How intersections are handled

- + @@ -767,8 +755,7 @@ populate a buffer for all points on the polygon that the line intersects.

Int32 -

The number of intersections populated into the buffer.

- + diff --git a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.EllipsePolygon.html b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.EllipsePolygon.html index ac1736eb..fd7ace3f 100644 --- a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.EllipsePolygon.html +++ b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.EllipsePolygon.html @@ -317,8 +317,7 @@

Bounds

-

Gets the bounds enclosing the path

-
+
Declaration
@@ -348,8 +347,7 @@

Length

-

Gets the length of the path.

-
+
Declaration
@@ -431,8 +429,7 @@

Distance(PointF)

-

Calculates the distance along and away from the path for a specified point.

-
+
Declaration
@@ -451,8 +448,7 @@ PointF point -

The point along the path.

- + @@ -467,8 +463,7 @@ PointInfo -

Returns details about the point and its distance away from the path.

- + @@ -513,8 +508,7 @@

PointAlongPath(Single)

-

Calculates the point a certain distance along a path.

-
+
Declaration
@@ -533,8 +527,7 @@ Single distanceAlongPath -

The distance along the path to find details of.

- + @@ -549,8 +542,7 @@ SegmentInfo -

Returns details about a point along a path.

- + @@ -647,9 +639,7 @@

IPath.FindIntersections(PointF, PointF, PointF[], Int32)

-

Based on a line described by start and end -populate a buffer for all points on the polygon that the line intersects.

-
+
Declaration
@@ -668,26 +658,22 @@ populate a buffer for all points on the polygon that the line intersects.

PointF start -

The start point of the line.

- + PointF end -

The end point of the line.

- + PointF[] buffer -

The buffer that will be populated with intersections.

- + Int32 offset -

The offset within the buffer to start.

- + @@ -702,8 +688,7 @@ populate a buffer for all points on the polygon that the line intersects.

Int32 -

The number of intersections populated into the buffer.

- + @@ -716,9 +701,7 @@ populate a buffer for all points on the polygon that the line intersects.

IPath.FindIntersections(PointF, PointF, PointF[], Int32, IntersectionRule)

-

Based on a line described by start and end -populate a buffer for all points on the polygon that the line intersects.

-
+
Declaration
@@ -737,32 +720,27 @@ populate a buffer for all points on the polygon that the line intersects.

PointF start -

The start point of the line.

- + PointF end -

The end point of the line.

- + PointF[] buffer -

The buffer that will be populated with intersections.

- + Int32 offset -

The offset within the buffer to start.

- + IntersectionRule intersectionRule -

How intersections are handled

- + @@ -777,8 +755,7 @@ populate a buffer for all points on the polygon that the line intersects.

Int32 -

The number of intersections populated into the buffer.

- + @@ -791,9 +768,7 @@ populate a buffer for all points on the polygon that the line intersects.

IPath.FindIntersections(PointF, PointF, Span<PointF>)

-

Based on a line described by start and end -populate a buffer for all points on the polygon that the line intersects.

-
+
Declaration
@@ -812,20 +787,17 @@ populate a buffer for all points on the polygon that the line intersects.

PointF start -

The start point of the line.

- + PointF end -

The end point of the line.

- + Span<PointF> buffer -

The buffer that will be populated with intersections.

- + @@ -840,8 +812,7 @@ populate a buffer for all points on the polygon that the line intersects.

Int32 -

The number of intersections populated into the buffer.

- + @@ -854,9 +825,7 @@ populate a buffer for all points on the polygon that the line intersects.

IPath.FindIntersections(PointF, PointF, Span<PointF>, IntersectionRule)

-

Based on a line described by start and end -populate a buffer for all points on the polygon that the line intersects.

-
+
Declaration
@@ -875,26 +844,22 @@ populate a buffer for all points on the polygon that the line intersects.

PointF start -

The start point of the line.

- + PointF end -

The end point of the line.

- + Span<PointF> buffer -

The buffer that will be populated with intersections.

- + IntersectionRule intersectionRule -

How intersections are handled

- + @@ -909,8 +874,7 @@ populate a buffer for all points on the polygon that the line intersects.

Int32 -

The number of intersections populated into the buffer.

- + diff --git a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Path.html b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Path.html index 8e761337..fc80cc91 100644 --- a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Path.html +++ b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Path.html @@ -242,8 +242,7 @@

Bounds

-

Gets the bounds enclosing the path

-
+
Declaration
@@ -512,8 +511,7 @@

Distance(PointF)

-

Calculates the distance along and away from the path for a specified point.

-
+
Declaration
@@ -532,8 +530,7 @@ PointF point -

The point along the path.

- + @@ -548,8 +545,7 @@ PointInfo -

Returns details about the point and its distance away from the path.

- + @@ -562,9 +558,7 @@

FindIntersections(PointF, PointF, PointF[], Int32)

-

Based on a line described by start and end -populate a buffer for all points on the polygon that the line intersects.

-
+
Declaration
@@ -583,26 +577,22 @@ populate a buffer for all points on the polygon that the line intersects.

PointF start -

The start point of the line.

- + PointF end -

The end point of the line.

- + PointF[] buffer -

The buffer that will be populated with intersections.

- + Int32 offset -

The offset within the buffer to start.

- + @@ -617,8 +607,7 @@ populate a buffer for all points on the polygon that the line intersects.

Int32 -

The number of intersections populated into the buffer.

- + @@ -631,9 +620,7 @@ populate a buffer for all points on the polygon that the line intersects.

FindIntersections(PointF, PointF, PointF[], Int32, IntersectionRule)

-

Based on a line described by start and end -populate a buffer for all points on the polygon that the line intersects.

-
+
Declaration
@@ -652,32 +639,27 @@ populate a buffer for all points on the polygon that the line intersects.

PointF start -

The start point of the line.

- + PointF end -

The end point of the line.

- + PointF[] buffer -

The buffer that will be populated with intersections.

- + Int32 offset -

The offset within the buffer to start.

- + IntersectionRule intersectionRule -

How intersections are handled

- + @@ -692,8 +674,7 @@ populate a buffer for all points on the polygon that the line intersects.

Int32 -

The number of intersections populated into the buffer.

- + @@ -706,9 +687,7 @@ populate a buffer for all points on the polygon that the line intersects.

FindIntersections(PointF, PointF, Span<PointF>)

-

Based on a line described by start and end -populate a buffer for all points on the polygon that the line intersects.

-
+
Declaration
@@ -727,20 +706,17 @@ populate a buffer for all points on the polygon that the line intersects.

PointF start -

The start point of the line.

- + PointF end -

The end point of the line.

- + Span<PointF> buffer -

The buffer that will be populated with intersections.

- + @@ -755,8 +731,7 @@ populate a buffer for all points on the polygon that the line intersects.

Int32 -

The number of intersections populated into the buffer.

- + @@ -769,9 +744,7 @@ populate a buffer for all points on the polygon that the line intersects.

FindIntersections(PointF, PointF, Span<PointF>, IntersectionRule)

-

Based on a line described by start and end -populate a buffer for all points on the polygon that the line intersects.

-
+
Declaration
@@ -790,26 +763,22 @@ populate a buffer for all points on the polygon that the line intersects.

PointF start -

The start point of the line.

- + PointF end -

The end point of the line.

- + Span<PointF> buffer -

The buffer that will be populated with intersections.

- + IntersectionRule intersectionRule -

How intersections are handled

- + @@ -824,8 +793,7 @@ populate a buffer for all points on the polygon that the line intersects.

Int32 -

The number of intersections populated into the buffer.

- + diff --git a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.PathCollection.html b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.PathCollection.html index bc7f52b1..f7575fc8 100644 --- a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.PathCollection.html +++ b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.PathCollection.html @@ -208,8 +208,7 @@

Bounds

-

Gets the bounds enclosing the path

-
+
Declaration
@@ -271,8 +270,7 @@

Transform(Matrix3x2)

-

Transforms the path using the specified matrix.

-
+
Declaration
@@ -291,8 +289,7 @@ Matrix3x2 matrix -

The matrix.

- + @@ -307,8 +304,7 @@ IPathCollection -

A new path with the matrix applied to it.

- + diff --git a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.EllipticGradientBrush.html b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.EllipticGradientBrush.html index 80068242..2938938a 100644 --- a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.EllipticGradientBrush.html +++ b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.EllipticGradientBrush.html @@ -207,12 +207,12 @@ it's length is the reference axis' length multiplied by this factor.

CreateApplicator<TPixel>(Configuration, GraphicsOptions, ImageFrame<TPixel>, RectangleF)

-

Creates the applicator for this brush.

-
+
Declaration
public override BrushApplicator<TPixel> CreateApplicator<TPixel>(Configuration configuration, GraphicsOptions options, ImageFrame<TPixel> source, RectangleF region)
+
     where TPixel : struct, IPixel<TPixel>
Parameters
@@ -228,26 +228,22 @@ it's length is the reference axis' length multiplied by this factor. Configuration configuration -

The configuration instance to use when performing operations.

- + GraphicsOptions options -

The graphic options.

- + ImageFrame<TPixel> source -

The source image.

- + RectangleF region -

The region the brush will be applied to.

- + @@ -262,8 +258,7 @@ it's length is the reference axis' length multiplied by this factor. BrushApplicator<TPixel> -

The BrushApplicator<TPixel> for this brush.

- + @@ -278,17 +273,12 @@ it's length is the reference axis' length multiplied by this factor. TPixel -

The pixel type.

- +
Overrides
SixLabors.ImageSharp.Drawing.Processing.GradientBrush.CreateApplicator<TPixel>(Configuration, GraphicsOptions, ImageFrame<TPixel>, RectangleF)
-
Remarks
-

The region when being applied to things like shapes would usually be the -bounding box of the shape not necessarily the bounds of the whole image.

-

Implements

IBrush diff --git a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.GradientBrush.html b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.GradientBrush.html index baeb1c76..e3844477 100644 --- a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.GradientBrush.html +++ b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.GradientBrush.html @@ -244,12 +244,12 @@

CreateApplicator<TPixel>(Configuration, GraphicsOptions, ImageFrame<TPixel>, RectangleF)

-

Creates the applicator for this brush.

-
+
Declaration
public abstract BrushApplicator<TPixel> CreateApplicator<TPixel>(Configuration configuration, GraphicsOptions options, ImageFrame<TPixel> source, RectangleF region)
+
     where TPixel : struct, IPixel<TPixel>
Parameters
@@ -265,26 +265,22 @@ Configuration configuration -

The configuration instance to use when performing operations.

- + GraphicsOptions options -

The graphic options.

- + ImageFrame<TPixel> source -

The source image.

- + RectangleF region -

The region the brush will be applied to.

- + @@ -299,8 +295,7 @@ BrushApplicator<TPixel> -

The BrushApplicator<TPixel> for this brush.

- + @@ -315,15 +310,10 @@ TPixel -

The pixel type.

- + -
Remarks
-

The region when being applied to things like shapes would usually be the -bounding box of the shape not necessarily the bounds of the whole image.

-

Implements

IBrush diff --git a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.IBrush.html b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.IBrush.html index 98bbee68..4fd887b3 100644 --- a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.IBrush.html +++ b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.IBrush.html @@ -113,6 +113,7 @@ logic for retrieving pixel values for specific locations.

Declaration
BrushApplicator<TPixel> CreateApplicator<TPixel>(Configuration configuration, GraphicsOptions options, ImageFrame<TPixel> source, RectangleF region)
+
     where TPixel : struct, IPixel<TPixel>
Parameters
diff --git a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.ImageBrush.html b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.ImageBrush.html index 789a7303..592ab0f4 100644 --- a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.ImageBrush.html +++ b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.ImageBrush.html @@ -172,12 +172,12 @@

CreateApplicator<TPixel>(Configuration, GraphicsOptions, ImageFrame<TPixel>, RectangleF)

-

Creates the applicator for this brush.

-
+
Declaration
public BrushApplicator<TPixel> CreateApplicator<TPixel>(Configuration configuration, GraphicsOptions options, ImageFrame<TPixel> source, RectangleF region)
+
     where TPixel : struct, IPixel<TPixel>
Parameters
@@ -193,26 +193,22 @@ Configuration configuration -

The configuration instance to use when performing operations.

- + GraphicsOptions options -

The graphic options.

- + ImageFrame<TPixel> source -

The source image.

- + RectangleF region -

The region the brush will be applied to.

- + @@ -227,8 +223,7 @@ BrushApplicator<TPixel> -

The BrushApplicator<TPixel> for this brush.

- + @@ -243,15 +238,10 @@ TPixel -

The pixel type.

- + -
Remarks
-

The region when being applied to things like shapes would usually be the -bounding box of the shape not necessarily the bounds of the whole image.

-

Implements

IBrush diff --git a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.LinearGradientBrush.html b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.LinearGradientBrush.html index 6a73e72b..ff06bedd 100644 --- a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.LinearGradientBrush.html +++ b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.LinearGradientBrush.html @@ -200,12 +200,12 @@ Supported right now:

CreateApplicator<TPixel>(Configuration, GraphicsOptions, ImageFrame<TPixel>, RectangleF)

-

Creates the applicator for this brush.

-
+
Declaration
public override BrushApplicator<TPixel> CreateApplicator<TPixel>(Configuration configuration, GraphicsOptions options, ImageFrame<TPixel> source, RectangleF region)
+
     where TPixel : struct, IPixel<TPixel>
Parameters
@@ -221,26 +221,22 @@ Supported right now:

Configuration configuration -

The configuration instance to use when performing operations.

- + GraphicsOptions options -

The graphic options.

- + ImageFrame<TPixel> source -

The source image.

- + RectangleF region -

The region the brush will be applied to.

- + @@ -255,8 +251,7 @@ Supported right now:

BrushApplicator<TPixel> -

The BrushApplicator<TPixel> for this brush.

- + @@ -271,17 +266,12 @@ Supported right now:

TPixel -

The pixel type.

- +
Overrides
SixLabors.ImageSharp.Drawing.Processing.GradientBrush.CreateApplicator<TPixel>(Configuration, GraphicsOptions, ImageFrame<TPixel>, RectangleF)
-
Remarks
-

The region when being applied to things like shapes would usually be the -bounding box of the shape not necessarily the bounds of the whole image.

-

Implements

IBrush diff --git a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.PathGradientBrush.html b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.PathGradientBrush.html index 376b4286..111ff588 100644 --- a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.PathGradientBrush.html +++ b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.PathGradientBrush.html @@ -225,12 +225,12 @@ It works similarly with the class in System.Drawing.Drawing2D of the same name.<

CreateApplicator<TPixel>(Configuration, GraphicsOptions, ImageFrame<TPixel>, RectangleF)

-

Creates the applicator for this brush.

-
+
Declaration
public BrushApplicator<TPixel> CreateApplicator<TPixel>(Configuration configuration, GraphicsOptions options, ImageFrame<TPixel> source, RectangleF region)
+
     where TPixel : struct, IPixel<TPixel>
Parameters
@@ -246,26 +246,22 @@ It works similarly with the class in System.Drawing.Drawing2D of the same name.< Configuration configuration -

The configuration instance to use when performing operations.

- + GraphicsOptions options -

The graphic options.

- + ImageFrame<TPixel> source -

The source image.

- + RectangleF region -

The region the brush will be applied to.

- + @@ -280,8 +276,7 @@ It works similarly with the class in System.Drawing.Drawing2D of the same name.< BrushApplicator<TPixel> -

The BrushApplicator<TPixel> for this brush.

- + @@ -296,15 +291,10 @@ It works similarly with the class in System.Drawing.Drawing2D of the same name.< TPixel -

The pixel type.

- + -
Remarks
-

The region when being applied to things like shapes would usually be the -bounding box of the shape not necessarily the bounds of the whole image.

-

Implements

IBrush diff --git a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.PatternBrush.html b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.PatternBrush.html index c24517f7..085efe89 100644 --- a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.PatternBrush.html +++ b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.PatternBrush.html @@ -202,12 +202,12 @@ or you want a horizontal stripe which is 3 pixels apart you would use a pattern

CreateApplicator<TPixel>(Configuration, GraphicsOptions, ImageFrame<TPixel>, RectangleF)

-

Creates the applicator for this brush.

-
+
Declaration
public BrushApplicator<TPixel> CreateApplicator<TPixel>(Configuration configuration, GraphicsOptions options, ImageFrame<TPixel> source, RectangleF region)
+
     where TPixel : struct, IPixel<TPixel>
Parameters
@@ -223,26 +223,22 @@ or you want a horizontal stripe which is 3 pixels apart you would use a pattern Configuration configuration -

The configuration instance to use when performing operations.

- + GraphicsOptions options -

The graphic options.

- + ImageFrame<TPixel> source -

The source image.

- + RectangleF region -

The region the brush will be applied to.

- + @@ -257,8 +253,7 @@ or you want a horizontal stripe which is 3 pixels apart you would use a pattern BrushApplicator<TPixel> -

The BrushApplicator<TPixel> for this brush.

- + @@ -273,15 +268,10 @@ or you want a horizontal stripe which is 3 pixels apart you would use a pattern TPixel -

The pixel type.

- + -
Remarks
-

The region when being applied to things like shapes would usually be the -bounding box of the shape not necessarily the bounds of the whole image.

-

Implements

IBrush diff --git a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.Pen.html b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.Pen.html index 3e847bf5..14047fad 100644 --- a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.Pen.html +++ b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.Pen.html @@ -318,8 +318,7 @@ the pattern will immediately repeat without gap.

StrokeFill

-

Gets the stroke fill.

-
+
Declaration
@@ -349,8 +348,7 @@ the pattern will immediately repeat without gap.

StrokePattern

-

Gets the stoke pattern.

-
+
Declaration
@@ -380,8 +378,7 @@ the pattern will immediately repeat without gap.

StrokeWidth

-

Gets the width to apply to the stroke

-
+
Declaration
diff --git a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.Processors.Drawing.DrawPathProcessor.html b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.Processors.Drawing.DrawPathProcessor.html index d87989fb..c6f97692 100644 --- a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.Processors.Drawing.DrawPathProcessor.html +++ b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.Processors.Drawing.DrawPathProcessor.html @@ -257,6 +257,7 @@ with the given Declaration
public IImageProcessor<TPixel> CreatePixelSpecificProcessor<TPixel>(Configuration configuration, Image<TPixel> source, Rectangle sourceRectangle)
+
     where TPixel : struct, IPixel<TPixel>
Parameters
diff --git a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.Processors.Drawing.FillPathProcessor.html b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.Processors.Drawing.FillPathProcessor.html index 6b231126..48d38c4f 100644 --- a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.Processors.Drawing.FillPathProcessor.html +++ b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.Processors.Drawing.FillPathProcessor.html @@ -257,6 +257,7 @@ with the given
Declaration
public IImageProcessor<TPixel> CreatePixelSpecificProcessor<TPixel>(Configuration configuration, Image<TPixel> source, Rectangle sourceRectangle)
+
     where TPixel : struct, IPixel<TPixel>
Parameters
diff --git a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.Processors.Drawing.FillProcessor.html b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.Processors.Drawing.FillProcessor.html index 1adfe267..98cd7abb 100644 --- a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.Processors.Drawing.FillProcessor.html +++ b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.Processors.Drawing.FillProcessor.html @@ -220,6 +220,7 @@ using blending defined by the given .

Declaration
public IImageProcessor<TPixel> CreatePixelSpecificProcessor<TPixel>(Configuration configuration, Image<TPixel> source, Rectangle sourceRectangle)
+
     where TPixel : struct, IPixel<TPixel>
Parameters
diff --git a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.Processors.Drawing.FillRegionProcessor.html b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.Processors.Drawing.FillRegionProcessor.html index fa7788c3..249f295a 100644 --- a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.Processors.Drawing.FillRegionProcessor.html +++ b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.Processors.Drawing.FillRegionProcessor.html @@ -257,6 +257,7 @@ with the given
Declaration
public IImageProcessor<TPixel> CreatePixelSpecificProcessor<TPixel>(Configuration configuration, Image<TPixel> source, Rectangle sourceRectangle)
+
     where TPixel : struct, IPixel<TPixel>
Parameters
diff --git a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.Processors.Text.DrawTextProcessor.html b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.Processors.Text.DrawTextProcessor.html index 1ce025df..12a4bfec 100644 --- a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.Processors.Text.DrawTextProcessor.html +++ b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.Processors.Text.DrawTextProcessor.html @@ -367,6 +367,7 @@
Declaration
public IImageProcessor<TPixel> CreatePixelSpecificProcessor<TPixel>(Configuration configuration, Image<TPixel> source, Rectangle sourceRectangle)
+
     where TPixel : struct, IPixel<TPixel>
Parameters
diff --git a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.RadialGradientBrush.html b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.RadialGradientBrush.html index 075e570b..a69d22cc 100644 --- a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.RadialGradientBrush.html +++ b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.RadialGradientBrush.html @@ -196,12 +196,12 @@

CreateApplicator<TPixel>(Configuration, GraphicsOptions, ImageFrame<TPixel>, RectangleF)

-

Creates the applicator for this brush.

-
+
Declaration
public override BrushApplicator<TPixel> CreateApplicator<TPixel>(Configuration configuration, GraphicsOptions options, ImageFrame<TPixel> source, RectangleF region)
+
     where TPixel : struct, IPixel<TPixel>
Parameters
@@ -217,26 +217,22 @@ Configuration configuration -

The configuration instance to use when performing operations.

- + GraphicsOptions options -

The graphic options.

- + ImageFrame<TPixel> source -

The source image.

- + RectangleF region -

The region the brush will be applied to.

- + @@ -251,8 +247,7 @@ BrushApplicator<TPixel> -

The BrushApplicator<TPixel> for this brush.

- + @@ -267,17 +262,12 @@ TPixel -

The pixel type.

- +
Overrides
SixLabors.ImageSharp.Drawing.Processing.GradientBrush.CreateApplicator<TPixel>(Configuration, GraphicsOptions, ImageFrame<TPixel>, RectangleF)
-
Remarks
-

The region when being applied to things like shapes would usually be the -bounding box of the shape not necessarily the bounds of the whole image.

-

Implements

IBrush diff --git a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.RecolorBrush.html b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.RecolorBrush.html index 72c9b28c..0d6ea28c 100644 --- a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.RecolorBrush.html +++ b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.RecolorBrush.html @@ -279,12 +279,12 @@

CreateApplicator<TPixel>(Configuration, GraphicsOptions, ImageFrame<TPixel>, RectangleF)

-

Creates the applicator for this brush.

-
+
Declaration
public BrushApplicator<TPixel> CreateApplicator<TPixel>(Configuration configuration, GraphicsOptions options, ImageFrame<TPixel> source, RectangleF region)
+
     where TPixel : struct, IPixel<TPixel>
Parameters
@@ -300,26 +300,22 @@ Configuration configuration -

The configuration instance to use when performing operations.

- + GraphicsOptions options -

The graphic options.

- + ImageFrame<TPixel> source -

The source image.

- + RectangleF region -

The region the brush will be applied to.

- + @@ -334,8 +330,7 @@ BrushApplicator<TPixel> -

The BrushApplicator<TPixel> for this brush.

- + @@ -350,15 +345,10 @@ TPixel -

The pixel type.

- + -
Remarks
-

The region when being applied to things like shapes would usually be the -bounding box of the shape not necessarily the bounds of the whole image.

-

Implements

IBrush diff --git a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.SolidBrush.html b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.SolidBrush.html index 26978de0..8848b4a7 100644 --- a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.SolidBrush.html +++ b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.SolidBrush.html @@ -205,12 +205,12 @@

CreateApplicator<TPixel>(Configuration, GraphicsOptions, ImageFrame<TPixel>, RectangleF)

-

Creates the applicator for this brush.

-
+
Declaration
public BrushApplicator<TPixel> CreateApplicator<TPixel>(Configuration configuration, GraphicsOptions options, ImageFrame<TPixel> source, RectangleF region)
+
     where TPixel : struct, IPixel<TPixel>
Parameters
@@ -226,26 +226,22 @@ Configuration configuration -

The configuration instance to use when performing operations.

- + GraphicsOptions options -

The graphic options.

- + ImageFrame<TPixel> source -

The source image.

- + RectangleF region -

The region the brush will be applied to.

- + @@ -260,8 +256,7 @@ BrushApplicator<TPixel> -

The BrushApplicator<TPixel> for this brush.

- + @@ -276,15 +271,10 @@ TPixel -

The pixel type.

- + -
Remarks
-

The region when being applied to things like shapes would usually be the -bounding box of the shape not necessarily the bounds of the whole image.

-

Implements

IBrush diff --git a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.RectangularPolygon.html b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.RectangularPolygon.html index d063a00d..555530ab 100644 --- a/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.RectangularPolygon.html +++ b/docs/api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.RectangularPolygon.html @@ -856,9 +856,7 @@ this

FindIntersections(PointF, PointF, PointF[], Int32)

-

Based on a line described by start and end -populate a buffer for all points on the polygon that the line intersects.

-
+
Declaration
@@ -877,26 +875,22 @@ populate a buffer for all points on the polygon that the line intersects.

PointF start -

The start point of the line.

- + PointF end -

The end point of the line.

- + PointF[] buffer -

The buffer that will be populated with intersections.

- + Int32 offset -

The offset within the buffer to start.

- + @@ -911,8 +905,7 @@ populate a buffer for all points on the polygon that the line intersects.

Int32 -

The number of intersections populated into the buffer.

- + @@ -925,9 +918,7 @@ populate a buffer for all points on the polygon that the line intersects.

FindIntersections(PointF, PointF, PointF[], Int32, IntersectionRule)

-

Based on a line described by start and end -populate a buffer for all points on the polygon that the line intersects.

-
+
Declaration
@@ -946,32 +937,27 @@ populate a buffer for all points on the polygon that the line intersects.

PointF start -

The start point of the line.

- + PointF end -

The end point of the line.

- + PointF[] buffer -

The buffer that will be populated with intersections.

- + Int32 offset -

The offset within the buffer to start.

- + IntersectionRule intersectionRule -

How intersections are handled

- + @@ -986,8 +972,7 @@ populate a buffer for all points on the polygon that the line intersects.

Int32 -

The number of intersections populated into the buffer.

- + @@ -1000,9 +985,7 @@ populate a buffer for all points on the polygon that the line intersects.

FindIntersections(PointF, PointF, Span<PointF>)

-

Based on a line described by start and end -populate a buffer for all points on the polygon that the line intersects.

-
+
Declaration
@@ -1021,20 +1004,17 @@ populate a buffer for all points on the polygon that the line intersects.

PointF start -

The start point of the line.

- + PointF end -

The end point of the line.

- + Span<PointF> buffer -

The buffer that will be populated with intersections.

- + @@ -1049,8 +1029,7 @@ populate a buffer for all points on the polygon that the line intersects.

Int32 -

The number of intersections populated into the buffer.

- + @@ -1063,9 +1042,7 @@ populate a buffer for all points on the polygon that the line intersects.

FindIntersections(PointF, PointF, Span<PointF>, IntersectionRule)

-

Based on a line described by start and end -populate a buffer for all points on the polygon that the line intersects.

-
+
Declaration
@@ -1084,26 +1061,22 @@ populate a buffer for all points on the polygon that the line intersects.

PointF start -

The start point of the line.

- + PointF end -

The end point of the line.

- + Span<PointF> buffer -

The buffer that will be populated with intersections.

- + IntersectionRule intersectionRule -

How intersections are handled

- + @@ -1118,8 +1091,7 @@ populate a buffer for all points on the polygon that the line intersects.

Int32 -

The number of intersections populated into the buffer.

- + @@ -1198,8 +1170,7 @@ populate a buffer for all points on the polygon that the line intersects.

PointAlongPath(Single)

-

Calculates the point a certain distance along a path.

-
+
Declaration
@@ -1218,8 +1189,7 @@ populate a buffer for all points on the polygon that the line intersects.

Single distanceAlongPath -

The distance along the path to find details of.

- + @@ -1234,8 +1204,7 @@ populate a buffer for all points on the polygon that the line intersects.

SegmentInfo -

Returns details about a point along a path.

- + @@ -1415,8 +1384,7 @@ populate a buffer for all points on the polygon that the line intersects.

IPath.Length

-

Gets the length of the path.

-
+
Declaration
diff --git a/docs/index.json b/docs/index.json index 53acac2c..424a42f3 100644 --- a/docs/index.json +++ b/docs/index.json @@ -47,7 +47,7 @@ "api/Fonts/SixLabors.Fonts.FontCollection.html": { "href": "api/Fonts/SixLabors.Fonts.FontCollection.html", "title": "Class FontCollection", - "keywords": "Class FontCollection Provides a collection of fonts. Inheritance Object FontCollection Implements IFontCollection IReadOnlyFontCollection Inherited Members Object.Equals(Object) Object.Equals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Object.ReferenceEquals(Object, Object) Object.ToString() Namespace : SixLabors.Fonts Assembly : SixLabors.Fonts.dll Syntax public sealed class FontCollection : IFontCollection, IReadOnlyFontCollection Constructors | Improve this Doc View Source FontCollection() Initializes a new instance of the FontCollection class. Declaration public FontCollection() Properties | Improve this Doc View Source Families Gets the collection of FontFamily objects associated with this FontCollection in the invariant culture. Declaration public IEnumerable Families { get; } Property Value Type Description IEnumerable < FontFamily > The families. Methods | Improve this Doc View Source FamiliesByCulture(CultureInfo) Gets the collection of FontFamily objects associated with this FontCollection . Declaration public IEnumerable FamiliesByCulture(CultureInfo culture) Parameters Type Name Description CultureInfo culture The culture to use while getting the family name from the installed set of fonts. Returns Type Description IEnumerable < FontFamily > The set of fonts families using the fonts culture aware font name | Improve this Doc View Source Find(String) Finds the specified font family using the invariant culture font family name. Declaration public FontFamily Find(string fontFamily) Parameters Type Name Description String fontFamily The font family. Returns Type Description FontFamily The family if installed otherwise throws FontFamilyNotFoundException | Improve this Doc View Source Find(String, CultureInfo) Finds the specified font family. Declaration public FontFamily Find(string fontFamily, CultureInfo culture) Parameters Type Name Description String fontFamily The font family. CultureInfo culture The culture to use while getting the family name from the installed set of fonts. Returns Type Description FontFamily The family if installed otherwise throws FontFamilyNotFoundException | Improve this Doc View Source Install(Stream) Installs the specified font stream. Declaration public FontFamily Install(Stream fontStream) Parameters Type Name Description Stream fontStream The font stream. Returns Type Description FontFamily the description of the font just loaded. | Improve this Doc View Source Install(Stream, out FontDescription) Installs the specified font stream. Declaration public FontFamily Install(Stream fontStream, out FontDescription fontDescription) Parameters Type Name Description Stream fontStream The font stream. FontDescription fontDescription The font description of the installed font. Returns Type Description FontFamily the description of the font just loaded. | Improve this Doc View Source Install(Stream, CultureInfo) Installs the specified font stream. Declaration public FontFamily Install(Stream fontStream, CultureInfo culture) Parameters Type Name Description Stream fontStream The font stream. CultureInfo culture The culture of the retuend font family Returns Type Description FontFamily the description of the font just loaded. | Improve this Doc View Source Install(Stream, CultureInfo, out FontDescription) Installs the specified font stream. Declaration public FontFamily Install(Stream fontStream, CultureInfo culture, out FontDescription fontDescription) Parameters Type Name Description Stream fontStream The font stream. CultureInfo culture The culture of the retuend font family FontDescription fontDescription The font description of the installed font. Returns Type Description FontFamily the description of the font just loaded. | Improve this Doc View Source Install(String) Installs a font from the specified path. Declaration public FontFamily Install(string path) Parameters Type Name Description String path The path. Returns Type Description FontFamily the description of the font just loaded. | Improve this Doc View Source Install(String, out FontDescription) Installs a font from the specified path. Declaration public FontFamily Install(string path, out FontDescription fontDescription) Parameters Type Name Description String path The path. FontDescription fontDescription The font description of the installed font. Returns Type Description FontFamily the description of the font just loaded. | Improve this Doc View Source Install(String, CultureInfo) Installs a font from the specified path. Declaration public FontFamily Install(string path, CultureInfo culture) Parameters Type Name Description String path The path. CultureInfo culture The culture of the retuend font family Returns Type Description FontFamily the description of the font just loaded. | Improve this Doc View Source Install(String, CultureInfo, out FontDescription) Installs a font from the specified path. Declaration public FontFamily Install(string path, CultureInfo culture, out FontDescription fontDescription) Parameters Type Name Description String path The path. CultureInfo culture The culture of the retuend font family FontDescription fontDescription The font description of the installed font. Returns Type Description FontFamily the description of the font just loaded. | Improve this Doc View Source InstallCollection(Stream, out IEnumerable) Installs a true type font collection (.ttc) from the specified font collection stream. Declaration public IEnumerable InstallCollection(Stream fontCollectionStream, out IEnumerable fontDescriptions) Parameters Type Name Description Stream fontCollectionStream The font stream. IEnumerable < FontDescription > fontDescriptions The descriptions of fonts installed from the collection. Returns Type Description IEnumerable < FontFamily > The font descriptions of the installed fonts. | Improve this Doc View Source InstallCollection(Stream, CultureInfo, out IEnumerable) Installs a true type font collection (.ttc) from the specified font collection stream. Declaration public IEnumerable InstallCollection(Stream fontCollectionStream, CultureInfo culture, out IEnumerable fontDescriptions) Parameters Type Name Description Stream fontCollectionStream The font stream. CultureInfo culture The culture of the retuend font families IEnumerable < FontDescription > fontDescriptions The descriptions of fonts installed from the collection. Returns Type Description IEnumerable < FontFamily > The font descriptions of the installed fonts. | Improve this Doc View Source InstallCollection(String) Installs a true type font collection (.ttc) from the specified font collection stream. Declaration public IEnumerable InstallCollection(string fontCollectionPath) Parameters Type Name Description String fontCollectionPath The font collection path (should be typically a .ttc file like simsun.ttc). Returns Type Description IEnumerable < FontFamily > The font descriptions of the installed fonts. | Improve this Doc View Source InstallCollection(String, out IEnumerable) Installs a true type font collection (.ttc) from the specified font collection stream. Declaration public IEnumerable InstallCollection(string fontCollectionPath, out IEnumerable fontDescriptions) Parameters Type Name Description String fontCollectionPath The font collection path (should be typically a .ttc file like simsun.ttc). IEnumerable < FontDescription > fontDescriptions The descriptions of fonts installed from the collection. Returns Type Description IEnumerable < FontFamily > The font descriptions of the installed fonts. | Improve this Doc View Source InstallCollection(String, CultureInfo) Installs a true type font collection (.ttc) from the specified font collection stream. Declaration public IEnumerable InstallCollection(string fontCollectionPath, CultureInfo culture) Parameters Type Name Description String fontCollectionPath The font collection path (should be typically a .ttc file like simsun.ttc). CultureInfo culture The culture of the retuend font families Returns Type Description IEnumerable < FontFamily > The font descriptions of the installed fonts. | Improve this Doc View Source InstallCollection(String, CultureInfo, out IEnumerable) Installs a true type font collection (.ttc) from the specified font collection stream. Declaration public IEnumerable InstallCollection(string fontCollectionPath, CultureInfo culture, out IEnumerable fontDescriptions) Parameters Type Name Description String fontCollectionPath The font collection path (should be typically a .ttc file like simsun.ttc). CultureInfo culture The culture of the retuend font families IEnumerable < FontDescription > fontDescriptions The descriptions of fonts installed from the collection. Returns Type Description IEnumerable < FontFamily > The font descriptions of the installed fonts. | Improve this Doc View Source TryFind(String, out FontFamily) Finds the specified font family using the invariant culture font family name. Declaration public bool TryFind(string fontFamily, out FontFamily family) Parameters Type Name Description String fontFamily The font family to find. FontFamily family The found family. Returns Type Description Boolean true if a font of that family has been installed into the font collection. | Improve this Doc View Source TryFind(String, CultureInfo, out FontFamily) Finds the specified font family. Declaration public bool TryFind(string fontFamily, CultureInfo culture, out FontFamily family) Parameters Type Name Description String fontFamily The font family to find. CultureInfo culture The culture to use while getting the family name from the installed set of fonts. FontFamily family The found family. Returns Type Description Boolean true if a font of that family has been installed into the font collection. Implements IFontCollection IReadOnlyFontCollection Extension Methods IReadonlyFontCollectionExtensions.CreateFont(IReadOnlyFontCollection, String, Single, FontStyle) IReadonlyFontCollectionExtensions.CreateFont(IReadOnlyFontCollection, String, Single) IReadonlyFontCollectionExtensions.CreateFont(IReadOnlyFontCollection, String, CultureInfo, Single, FontStyle) IReadonlyFontCollectionExtensions.CreateFont(IReadOnlyFontCollection, String, CultureInfo, Single)" + "keywords": "Class FontCollection Provides a collection of fonts. Inheritance Object FontCollection Implements IFontCollection IReadOnlyFontCollection Inherited Members Object.Equals(Object) Object.Equals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Object.ReferenceEquals(Object, Object) Object.ToString() Namespace : SixLabors.Fonts Assembly : SixLabors.Fonts.dll Syntax public sealed class FontCollection : IFontCollection, IReadOnlyFontCollection Constructors | Improve this Doc View Source FontCollection() Initializes a new instance of the FontCollection class. Declaration public FontCollection() Properties | Improve this Doc View Source Families Declaration public IEnumerable Families { get; } Property Value Type Description IEnumerable < FontFamily > Methods | Improve this Doc View Source FamiliesByCulture(CultureInfo) Declaration public IEnumerable FamiliesByCulture(CultureInfo culture) Parameters Type Name Description CultureInfo culture Returns Type Description IEnumerable < FontFamily > | Improve this Doc View Source Find(String) Declaration public FontFamily Find(string fontFamily) Parameters Type Name Description String fontFamily Returns Type Description FontFamily | Improve this Doc View Source Find(String, CultureInfo) Declaration public FontFamily Find(string fontFamily, CultureInfo culture) Parameters Type Name Description String fontFamily CultureInfo culture Returns Type Description FontFamily | Improve this Doc View Source Install(Stream) Installs the specified font stream. Declaration public FontFamily Install(Stream fontStream) Parameters Type Name Description Stream fontStream The font stream. Returns Type Description FontFamily the description of the font just loaded. | Improve this Doc View Source Install(Stream, out FontDescription) Installs the specified font stream. Declaration public FontFamily Install(Stream fontStream, out FontDescription fontDescription) Parameters Type Name Description Stream fontStream The font stream. FontDescription fontDescription The font description of the installed font. Returns Type Description FontFamily the description of the font just loaded. | Improve this Doc View Source Install(Stream, CultureInfo) Installs the specified font stream. Declaration public FontFamily Install(Stream fontStream, CultureInfo culture) Parameters Type Name Description Stream fontStream The font stream. CultureInfo culture The culture of the retuend font family Returns Type Description FontFamily the description of the font just loaded. | Improve this Doc View Source Install(Stream, CultureInfo, out FontDescription) Installs the specified font stream. Declaration public FontFamily Install(Stream fontStream, CultureInfo culture, out FontDescription fontDescription) Parameters Type Name Description Stream fontStream The font stream. CultureInfo culture The culture of the retuend font family FontDescription fontDescription The font description of the installed font. Returns Type Description FontFamily the description of the font just loaded. | Improve this Doc View Source Install(String) Installs a font from the specified path. Declaration public FontFamily Install(string path) Parameters Type Name Description String path The path. Returns Type Description FontFamily the description of the font just loaded. | Improve this Doc View Source Install(String, out FontDescription) Installs a font from the specified path. Declaration public FontFamily Install(string path, out FontDescription fontDescription) Parameters Type Name Description String path The path. FontDescription fontDescription The font description of the installed font. Returns Type Description FontFamily the description of the font just loaded. | Improve this Doc View Source Install(String, CultureInfo) Installs a font from the specified path. Declaration public FontFamily Install(string path, CultureInfo culture) Parameters Type Name Description String path The path. CultureInfo culture The culture of the retuend font family Returns Type Description FontFamily the description of the font just loaded. | Improve this Doc View Source Install(String, CultureInfo, out FontDescription) Installs a font from the specified path. Declaration public FontFamily Install(string path, CultureInfo culture, out FontDescription fontDescription) Parameters Type Name Description String path The path. CultureInfo culture The culture of the retuend font family FontDescription fontDescription The font description of the installed font. Returns Type Description FontFamily the description of the font just loaded. | Improve this Doc View Source InstallCollection(Stream, out IEnumerable) Installs a true type font collection (.ttc) from the specified font collection stream. Declaration public IEnumerable InstallCollection(Stream fontCollectionStream, out IEnumerable fontDescriptions) Parameters Type Name Description Stream fontCollectionStream The font stream. IEnumerable < FontDescription > fontDescriptions The descriptions of fonts installed from the collection. Returns Type Description IEnumerable < FontFamily > The font descriptions of the installed fonts. | Improve this Doc View Source InstallCollection(Stream, CultureInfo, out IEnumerable) Installs a true type font collection (.ttc) from the specified font collection stream. Declaration public IEnumerable InstallCollection(Stream fontCollectionStream, CultureInfo culture, out IEnumerable fontDescriptions) Parameters Type Name Description Stream fontCollectionStream The font stream. CultureInfo culture The culture of the retuend font families IEnumerable < FontDescription > fontDescriptions The descriptions of fonts installed from the collection. Returns Type Description IEnumerable < FontFamily > The font descriptions of the installed fonts. | Improve this Doc View Source InstallCollection(String) Installs a true type font collection (.ttc) from the specified font collection stream. Declaration public IEnumerable InstallCollection(string fontCollectionPath) Parameters Type Name Description String fontCollectionPath The font collection path (should be typically a .ttc file like simsun.ttc). Returns Type Description IEnumerable < FontFamily > The font descriptions of the installed fonts. | Improve this Doc View Source InstallCollection(String, out IEnumerable) Installs a true type font collection (.ttc) from the specified font collection stream. Declaration public IEnumerable InstallCollection(string fontCollectionPath, out IEnumerable fontDescriptions) Parameters Type Name Description String fontCollectionPath The font collection path (should be typically a .ttc file like simsun.ttc). IEnumerable < FontDescription > fontDescriptions The descriptions of fonts installed from the collection. Returns Type Description IEnumerable < FontFamily > The font descriptions of the installed fonts. | Improve this Doc View Source InstallCollection(String, CultureInfo) Installs a true type font collection (.ttc) from the specified font collection stream. Declaration public IEnumerable InstallCollection(string fontCollectionPath, CultureInfo culture) Parameters Type Name Description String fontCollectionPath The font collection path (should be typically a .ttc file like simsun.ttc). CultureInfo culture The culture of the retuend font families Returns Type Description IEnumerable < FontFamily > The font descriptions of the installed fonts. | Improve this Doc View Source InstallCollection(String, CultureInfo, out IEnumerable) Installs a true type font collection (.ttc) from the specified font collection stream. Declaration public IEnumerable InstallCollection(string fontCollectionPath, CultureInfo culture, out IEnumerable fontDescriptions) Parameters Type Name Description String fontCollectionPath The font collection path (should be typically a .ttc file like simsun.ttc). CultureInfo culture The culture of the retuend font families IEnumerable < FontDescription > fontDescriptions The descriptions of fonts installed from the collection. Returns Type Description IEnumerable < FontFamily > The font descriptions of the installed fonts. | Improve this Doc View Source TryFind(String, out FontFamily) Declaration public bool TryFind(string fontFamily, out FontFamily family) Parameters Type Name Description String fontFamily FontFamily family Returns Type Description Boolean | Improve this Doc View Source TryFind(String, CultureInfo, out FontFamily) Declaration public bool TryFind(string fontFamily, CultureInfo culture, out FontFamily family) Parameters Type Name Description String fontFamily CultureInfo culture FontFamily family Returns Type Description Boolean Implements IFontCollection IReadOnlyFontCollection Extension Methods IReadonlyFontCollectionExtensions.CreateFont(IReadOnlyFontCollection, String, Single, FontStyle) IReadonlyFontCollectionExtensions.CreateFont(IReadOnlyFontCollection, String, Single) IReadonlyFontCollectionExtensions.CreateFont(IReadOnlyFontCollection, String, CultureInfo, Single, FontStyle) IReadonlyFontCollectionExtensions.CreateFont(IReadOnlyFontCollection, String, CultureInfo, Single)" }, "api/Fonts/SixLabors.Fonts.FontDescription.html": { "href": "api/Fonts/SixLabors.Fonts.FontDescription.html", @@ -67,7 +67,7 @@ "api/Fonts/SixLabors.Fonts.FontInstance.html": { "href": "api/Fonts/SixLabors.Fonts.FontInstance.html", "title": "Class FontInstance", - "keywords": "Class FontInstance provide metadata about a font. Inheritance Object FontInstance Implements IFontInstance Inherited Members Object.Equals(Object) Object.Equals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Object.ReferenceEquals(Object, Object) Object.ToString() Namespace : SixLabors.Fonts Assembly : SixLabors.Fonts.dll Syntax public class FontInstance : IFontInstance Properties | Improve this Doc View Source Ascender Gets the ascender. Declaration public short Ascender { get; } Property Value Type Description Int16 | Improve this Doc View Source Descender Gets the descender. Declaration public short Descender { get; } Property Value Type Description Int16 | Improve this Doc View Source Description Gets the basic descripton of the font instance type. Declaration public FontDescription Description { get; } Property Value Type Description FontDescription | Improve this Doc View Source EmSize Gets the size of the em. Declaration public ushort EmSize { get; } Property Value Type Description UInt16 The size of the em. | Improve this Doc View Source LineGap Gets the line gap. Declaration public short LineGap { get; } Property Value Type Description Int16 | Improve this Doc View Source LineHeight Gets the height of the line. Declaration public int LineHeight { get; } Property Value Type Description Int32 The height of the line. Methods | Improve this Doc View Source LoadFont(Stream) Reads a FontInstance from the specified stream. Declaration public static FontInstance LoadFont(Stream stream) Parameters Type Name Description Stream stream The stream. Returns Type Description FontInstance a FontInstance . | Improve this Doc View Source LoadFont(String) Reads a FontInstance from the specified stream. Declaration public static FontInstance LoadFont(string path) Parameters Type Name Description String path The file path. Returns Type Description FontInstance a FontInstance . | Improve this Doc View Source LoadFont(String, Int64) Reads a FontInstance from the specified stream. Declaration public static FontInstance LoadFont(string path, long offset) Parameters Type Name Description String path The file path. Int64 offset Position in the stream to read the font from. Returns Type Description FontInstance a FontInstance . | Improve this Doc View Source LoadFontCollection(Stream) Reads a FontInstance from the specified stream. Declaration public static FontInstance[] LoadFontCollection(Stream stream) Parameters Type Name Description Stream stream The stream. Returns Type Description FontInstance [] a FontInstance . | Improve this Doc View Source LoadFontCollection(String) Reads a FontInstance from the specified stream. Declaration public static FontInstance[] LoadFontCollection(string path) Parameters Type Name Description String path The file path. Returns Type Description FontInstance [] a FontInstance . Explicit Interface Implementations | Improve this Doc View Source IFontInstance.GetGlyph(Int32) Gets the glyph. Declaration GlyphInstance IFontInstance.GetGlyph(int codePoint) Parameters Type Name Description Int32 codePoint The code point of the character. Returns Type Description GlyphInstance the glyph for a known character. | Improve this Doc View Source IFontInstance.GetOffset(GlyphInstance, GlyphInstance) Gets the amount the glyph should be ofset if it was proceeded by the previousGlyph . Declaration Vector2 IFontInstance.GetOffset(GlyphInstance glyph, GlyphInstance previousGlyph) Parameters Type Name Description GlyphInstance glyph The glyph. GlyphInstance previousGlyph The previous glyph. Returns Type Description Vector2 A Vector2 represting the offset that should be applied to the glyph . Implements IFontInstance" + "keywords": "Class FontInstance provide metadata about a font. Inheritance Object FontInstance Implements IFontInstance Inherited Members Object.Equals(Object) Object.Equals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Object.ReferenceEquals(Object, Object) Object.ToString() Namespace : SixLabors.Fonts Assembly : SixLabors.Fonts.dll Syntax public class FontInstance : IFontInstance Properties | Improve this Doc View Source Ascender Gets the ascender. Declaration public short Ascender { get; } Property Value Type Description Int16 | Improve this Doc View Source Descender Gets the descender. Declaration public short Descender { get; } Property Value Type Description Int16 | Improve this Doc View Source Description Declaration public FontDescription Description { get; } Property Value Type Description FontDescription | Improve this Doc View Source EmSize Gets the size of the em. Declaration public ushort EmSize { get; } Property Value Type Description UInt16 The size of the em. | Improve this Doc View Source LineGap Gets the line gap. Declaration public short LineGap { get; } Property Value Type Description Int16 | Improve this Doc View Source LineHeight Gets the height of the line. Declaration public int LineHeight { get; } Property Value Type Description Int32 The height of the line. Methods | Improve this Doc View Source LoadFont(Stream) Reads a FontInstance from the specified stream. Declaration public static FontInstance LoadFont(Stream stream) Parameters Type Name Description Stream stream The stream. Returns Type Description FontInstance a FontInstance . | Improve this Doc View Source LoadFont(String) Reads a FontInstance from the specified stream. Declaration public static FontInstance LoadFont(string path) Parameters Type Name Description String path The file path. Returns Type Description FontInstance a FontInstance . | Improve this Doc View Source LoadFont(String, Int64) Reads a FontInstance from the specified stream. Declaration public static FontInstance LoadFont(string path, long offset) Parameters Type Name Description String path The file path. Int64 offset Position in the stream to read the font from. Returns Type Description FontInstance a FontInstance . | Improve this Doc View Source LoadFontCollection(Stream) Reads a FontInstance from the specified stream. Declaration public static FontInstance[] LoadFontCollection(Stream stream) Parameters Type Name Description Stream stream The stream. Returns Type Description FontInstance [] a FontInstance . | Improve this Doc View Source LoadFontCollection(String) Reads a FontInstance from the specified stream. Declaration public static FontInstance[] LoadFontCollection(string path) Parameters Type Name Description String path The file path. Returns Type Description FontInstance [] a FontInstance . Explicit Interface Implementations | Improve this Doc View Source IFontInstance.GetGlyph(Int32) Gets the glyph. Declaration GlyphInstance IFontInstance.GetGlyph(int codePoint) Parameters Type Name Description Int32 codePoint The code point of the character. Returns Type Description GlyphInstance the glyph for a known character. | Improve this Doc View Source IFontInstance.GetOffset(GlyphInstance, GlyphInstance) Gets the amount the glyph should be ofset if it was proceeded by the previousGlyph . Declaration Vector2 IFontInstance.GetOffset(GlyphInstance glyph, GlyphInstance previousGlyph) Parameters Type Name Description GlyphInstance glyph The glyph. GlyphInstance previousGlyph The previous glyph. Returns Type Description Vector2 A Vector2 represting the offset that should be applied to the glyph . Implements IFontInstance" }, "api/Fonts/SixLabors.Fonts.FontRectangle.html": { "href": "api/Fonts/SixLabors.Fonts.FontRectangle.html", @@ -187,7 +187,7 @@ "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.ComplexPolygon.html": { "href": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.ComplexPolygon.html", "title": "Class ComplexPolygon", - "keywords": "Class ComplexPolygon Represents a complex polygon made up of one or more shapes overlayed on each other, where overlaps causes holes. Inheritance Object ComplexPolygon Implements IPath Inherited Members Object.Equals(Object) Object.Equals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Object.ReferenceEquals(Object, Object) Object.ToString() Namespace : SixLabors.ImageSharp.Drawing Assembly : SixLabors.ImageSharp.Drawing.dll Syntax public sealed class ComplexPolygon : IPath, IInternalPathOwner Constructors | Improve this Doc View Source ComplexPolygon(IPath[]) Initializes a new instance of the ComplexPolygon class. Declaration public ComplexPolygon(params IPath[] paths) Parameters Type Name Description IPath [] paths The paths. | Improve this Doc View Source ComplexPolygon(IEnumerable) Initializes a new instance of the ComplexPolygon class. Declaration public ComplexPolygon(IEnumerable paths) Parameters Type Name Description IEnumerable < IPath > paths The paths. Properties | Improve this Doc View Source Bounds Gets the bounding box of this shape. Declaration public RectangleF Bounds { get; } Property Value Type Description RectangleF The bounds. | Improve this Doc View Source Length Gets the length of the path. Declaration public float Length { get; } Property Value Type Description Single | Improve this Doc View Source MaxIntersections Gets the maximum number intersections that a shape can have when testing a line. Declaration public int MaxIntersections { get; } Property Value Type Description Int32 The maximum intersections. | Improve this Doc View Source Paths Gets the paths that make up this shape Declaration public IEnumerable Paths { get; } Property Value Type Description IEnumerable < IPath > The paths. | Improve this Doc View Source PathType Gets a value indicating whether this instance is closed, open or a composite path with a mixture of open and closed figures. Declaration public PathTypes PathType { get; } Property Value Type Description PathTypes Methods | Improve this Doc View Source AsClosedPath() Converts a path to a closed path. Declaration public IPath AsClosedPath() Returns Type Description IPath Returns the path as a closed path. | Improve this Doc View Source Contains(PointF) Determines whether the IPath contains the specified point Declaration public bool Contains(PointF point) Parameters Type Name Description PointF point The point. Returns Type Description Boolean true if the IPath contains the specified point; otherwise, false . | Improve this Doc View Source Distance(PointF) the distance of the point from the outline of the shape, if the value is negative it is inside the polygon bounds Declaration public PointInfo Distance(PointF point) Parameters Type Name Description PointF point The point. Returns Type Description PointInfo Returns the distance from thr shape to the point Remarks Due to the clipping we did during construction we know that out shapes do not overlap at there edges therefore for a point to be in more that one we must be in a hole of another, theoretically this could then flip again to be in a outline inside a hole inside an outline :) | Improve this Doc View Source FindIntersections(PointF, PointF, PointF[], Int32) Based on a line described by start and end populate a buffer for all points on all the polygons, that make up this complex shape, that the line intersects. Declaration public int FindIntersections(PointF start, PointF end, PointF[] buffer, int offset) Parameters Type Name Description PointF start The start point of the line. PointF end The end point of the line. PointF [] buffer The buffer that will be populated with intersections. Int32 offset The offset within the buffer Returns Type Description Int32 The number of intersections populated into the buffer. | Improve this Doc View Source FindIntersections(PointF, PointF, PointF[], Int32, IntersectionRule) Based on a line described by start and end populate a buffer for all points on all the polygons, that make up this complex shape, that the line intersects. Declaration public int FindIntersections(PointF start, PointF end, PointF[] buffer, int offset, IntersectionRule intersectionRule) Parameters Type Name Description PointF start The start point of the line. PointF end The end point of the line. PointF [] buffer The buffer that will be populated with intersections. Int32 offset The offset within the buffer IntersectionRule intersectionRule The intersection rule to use Returns Type Description Int32 The number of intersections populated into the buffer. | Improve this Doc View Source FindIntersections(PointF, PointF, Span) Based on a line described by start and end populate a buffer for all points on the polygon that the line intersects. Declaration public int FindIntersections(PointF start, PointF end, Span buffer) Parameters Type Name Description PointF start The start point of the line. PointF end The end point of the line. Span < PointF > buffer The buffer that will be populated with intersections. Returns Type Description Int32 The number of intersections populated into the buffer. | Improve this Doc View Source FindIntersections(PointF, PointF, Span, IntersectionRule) Based on a line described by start and end populate a buffer for all points on the polygon that the line intersects. Declaration public int FindIntersections(PointF start, PointF end, Span buffer, IntersectionRule intersectionRule) Parameters Type Name Description PointF start The start point of the line. PointF end The end point of the line. Span < PointF > buffer The buffer that will be populated with intersections. IntersectionRule intersectionRule How intersections are handled Returns Type Description Int32 The number of intersections populated into the buffer. | Improve this Doc View Source Flatten() Converts the IPath into a simple linear path.. Declaration public IEnumerable Flatten() Returns Type Description IEnumerable < ISimplePath > Returns the current IPath as simple linear path. | Improve this Doc View Source PointAlongPath(Single) Calculates the point a certain distance a path. Declaration public SegmentInfo PointAlongPath(float distanceAlongPath) Parameters Type Name Description Single distanceAlongPath The distance along the path to find details of. Returns Type Description SegmentInfo Returns details about a point along a path. | Improve this Doc View Source Transform(Matrix3x2) Transforms the shape using the specified matrix. Declaration public IPath Transform(Matrix3x2 matrix) Parameters Type Name Description Matrix3x2 matrix The matrix. Returns Type Description IPath A new shape with the matrix applied to it. Implements IPath Extension Methods ClipperExtensions.Clip(IPath, IEnumerable) ClipperExtensions.Clip(IPath, IPath[]) Outliner.GenerateOutline(IPath, Single, Single[]) Outliner.GenerateOutline(IPath, Single, ReadOnlySpan) Outliner.GenerateOutline(IPath, Single, Single[], Boolean) Outliner.GenerateOutline(IPath, Single, ReadOnlySpan, Boolean) Outliner.GenerateOutline(IPath, Single, ReadOnlySpan, Boolean, JointStyle, EndCapStyle) Outliner.GenerateOutline(IPath, Single) Outliner.GenerateOutline(IPath, Single, JointStyle, EndCapStyle) PathExtensions.Rotate(IPath, Single) PathExtensions.RotateDegree(IPath, Single) PathExtensions.Translate(IPath, PointF) PathExtensions.Translate(IPath, Single, Single) PathExtensions.Scale(IPath, Single, Single) PathExtensions.Scale(IPath, Single) PathExtensions.FindIntersections(IPath, PointF, PointF) See Also IPath" + "keywords": "Class ComplexPolygon Represents a complex polygon made up of one or more shapes overlayed on each other, where overlaps causes holes. Inheritance Object ComplexPolygon Implements IPath Inherited Members Object.Equals(Object) Object.Equals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Object.ReferenceEquals(Object, Object) Object.ToString() Namespace : SixLabors.ImageSharp.Drawing Assembly : SixLabors.ImageSharp.Drawing.dll Syntax public sealed class ComplexPolygon : IPath, IInternalPathOwner Constructors | Improve this Doc View Source ComplexPolygon(IPath[]) Initializes a new instance of the ComplexPolygon class. Declaration public ComplexPolygon(params IPath[] paths) Parameters Type Name Description IPath [] paths The paths. | Improve this Doc View Source ComplexPolygon(IEnumerable) Initializes a new instance of the ComplexPolygon class. Declaration public ComplexPolygon(IEnumerable paths) Parameters Type Name Description IEnumerable < IPath > paths The paths. Properties | Improve this Doc View Source Bounds Gets the bounding box of this shape. Declaration public RectangleF Bounds { get; } Property Value Type Description RectangleF The bounds. | Improve this Doc View Source Length Gets the length of the path. Declaration public float Length { get; } Property Value Type Description Single | Improve this Doc View Source MaxIntersections Gets the maximum number intersections that a shape can have when testing a line. Declaration public int MaxIntersections { get; } Property Value Type Description Int32 The maximum intersections. | Improve this Doc View Source Paths Gets the paths that make up this shape Declaration public IEnumerable Paths { get; } Property Value Type Description IEnumerable < IPath > The paths. | Improve this Doc View Source PathType Gets a value indicating whether this instance is closed, open or a composite path with a mixture of open and closed figures. Declaration public PathTypes PathType { get; } Property Value Type Description PathTypes Methods | Improve this Doc View Source AsClosedPath() Converts a path to a closed path. Declaration public IPath AsClosedPath() Returns Type Description IPath Returns the path as a closed path. | Improve this Doc View Source Contains(PointF) Determines whether the IPath contains the specified point Declaration public bool Contains(PointF point) Parameters Type Name Description PointF point The point. Returns Type Description Boolean true if the IPath contains the specified point; otherwise, false . | Improve this Doc View Source Distance(PointF) the distance of the point from the outline of the shape, if the value is negative it is inside the polygon bounds Declaration public PointInfo Distance(PointF point) Parameters Type Name Description PointF point The point. Returns Type Description PointInfo Returns the distance from thr shape to the point Remarks Due to the clipping we did during construction we know that out shapes do not overlap at there edges therefore for a point to be in more that one we must be in a hole of another, theoretically this could then flip again to be in a outline inside a hole inside an outline :) | Improve this Doc View Source FindIntersections(PointF, PointF, PointF[], Int32) Based on a line described by start and end populate a buffer for all points on all the polygons, that make up this complex shape, that the line intersects. Declaration public int FindIntersections(PointF start, PointF end, PointF[] buffer, int offset) Parameters Type Name Description PointF start The start point of the line. PointF end The end point of the line. PointF [] buffer The buffer that will be populated with intersections. Int32 offset The offset within the buffer Returns Type Description Int32 The number of intersections populated into the buffer. | Improve this Doc View Source FindIntersections(PointF, PointF, PointF[], Int32, IntersectionRule) Based on a line described by start and end populate a buffer for all points on all the polygons, that make up this complex shape, that the line intersects. Declaration public int FindIntersections(PointF start, PointF end, PointF[] buffer, int offset, IntersectionRule intersectionRule) Parameters Type Name Description PointF start The start point of the line. PointF end The end point of the line. PointF [] buffer The buffer that will be populated with intersections. Int32 offset The offset within the buffer IntersectionRule intersectionRule The intersection rule to use Returns Type Description Int32 The number of intersections populated into the buffer. | Improve this Doc View Source FindIntersections(PointF, PointF, Span) Declaration public int FindIntersections(PointF start, PointF end, Span buffer) Parameters Type Name Description PointF start PointF end Span < PointF > buffer Returns Type Description Int32 | Improve this Doc View Source FindIntersections(PointF, PointF, Span, IntersectionRule) Declaration public int FindIntersections(PointF start, PointF end, Span buffer, IntersectionRule intersectionRule) Parameters Type Name Description PointF start PointF end Span < PointF > buffer IntersectionRule intersectionRule Returns Type Description Int32 | Improve this Doc View Source Flatten() Converts the IPath into a simple linear path.. Declaration public IEnumerable Flatten() Returns Type Description IEnumerable < ISimplePath > Returns the current IPath as simple linear path. | Improve this Doc View Source PointAlongPath(Single) Calculates the point a certain distance a path. Declaration public SegmentInfo PointAlongPath(float distanceAlongPath) Parameters Type Name Description Single distanceAlongPath The distance along the path to find details of. Returns Type Description SegmentInfo Returns details about a point along a path. | Improve this Doc View Source Transform(Matrix3x2) Transforms the shape using the specified matrix. Declaration public IPath Transform(Matrix3x2 matrix) Parameters Type Name Description Matrix3x2 matrix The matrix. Returns Type Description IPath A new shape with the matrix applied to it. Implements IPath Extension Methods ClipperExtensions.Clip(IPath, IEnumerable) ClipperExtensions.Clip(IPath, IPath[]) Outliner.GenerateOutline(IPath, Single, Single[]) Outliner.GenerateOutline(IPath, Single, ReadOnlySpan) Outliner.GenerateOutline(IPath, Single, Single[], Boolean) Outliner.GenerateOutline(IPath, Single, ReadOnlySpan, Boolean) Outliner.GenerateOutline(IPath, Single, ReadOnlySpan, Boolean, JointStyle, EndCapStyle) Outliner.GenerateOutline(IPath, Single) Outliner.GenerateOutline(IPath, Single, JointStyle, EndCapStyle) PathExtensions.Rotate(IPath, Single) PathExtensions.RotateDegree(IPath, Single) PathExtensions.Translate(IPath, PointF) PathExtensions.Translate(IPath, Single, Single) PathExtensions.Scale(IPath, Single, Single) PathExtensions.Scale(IPath, Single) PathExtensions.FindIntersections(IPath, PointF, PointF) See Also IPath" }, "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.CubicBezierLineSegment.html": { "href": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.CubicBezierLineSegment.html", @@ -197,7 +197,7 @@ "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.EllipsePolygon.html": { "href": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.EllipsePolygon.html", "title": "Class EllipsePolygon", - "keywords": "Class EllipsePolygon A shape made up of a single path made up of one of more ILineSegment s Inheritance Object EllipsePolygon Implements IPath ISimplePath Inherited Members Object.Equals(Object) Object.Equals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Object.ReferenceEquals(Object, Object) Object.ToString() Namespace : SixLabors.ImageSharp.Drawing Assembly : SixLabors.ImageSharp.Drawing.dll Syntax public class EllipsePolygon : IPath, ISimplePath, IInternalPathOwner Constructors | Improve this Doc View Source EllipsePolygon(PointF, SizeF) Initializes a new instance of the EllipsePolygon class. Declaration public EllipsePolygon(PointF location, SizeF size) Parameters Type Name Description PointF location The location the center of the ellipse will be placed. SizeF size The width/hight of the final ellipse. | Improve this Doc View Source EllipsePolygon(PointF, Single) Initializes a new instance of the EllipsePolygon class. Declaration public EllipsePolygon(PointF location, float radius) Parameters Type Name Description PointF location The location the center of the circle will be placed. Single radius The radius final circle. | Improve this Doc View Source EllipsePolygon(Single, Single, Single) Initializes a new instance of the EllipsePolygon class. Declaration public EllipsePolygon(float x, float y, float radius) Parameters Type Name Description Single x The X coordinate of the center of the circle. Single y The Y coordinate of the center of the circle. Single radius The radius final circle. | Improve this Doc View Source EllipsePolygon(Single, Single, Single, Single) Initializes a new instance of the EllipsePolygon class. Declaration public EllipsePolygon(float x, float y, float width, float height) Parameters Type Name Description Single x The X coordinate of the center of the ellipse. Single y The Y coordinate of the center of the ellipse. Single width The width the ellipse should have. Single height The height the ellipse should have. Properties | Improve this Doc View Source Bounds Gets the bounds enclosing the path Declaration public RectangleF Bounds { get; } Property Value Type Description RectangleF | Improve this Doc View Source Length Gets the length of the path. Declaration public float Length { get; } Property Value Type Description Single Methods | Improve this Doc View Source Contains(PointF) Determines whether the IPath contains the specified point Declaration public bool Contains(PointF point) Parameters Type Name Description PointF point The point. Returns Type Description Boolean true if the IPath contains the specified point; otherwise, false . | Improve this Doc View Source Distance(PointF) Calculates the distance along and away from the path for a specified point. Declaration public PointInfo Distance(PointF point) Parameters Type Name Description PointF point The point along the path. Returns Type Description PointInfo Returns details about the point and its distance away from the path. | Improve this Doc View Source Flatten() Converts the IPath into a simple linear path.. Declaration public IEnumerable Flatten() Returns Type Description IEnumerable < ISimplePath > Returns the current IPath as simple linear path. | Improve this Doc View Source PointAlongPath(Single) Calculates the point a certain distance along a path. Declaration public SegmentInfo PointAlongPath(float distanceAlongPath) Parameters Type Name Description Single distanceAlongPath The distance along the path to find details of. Returns Type Description SegmentInfo Returns details about a point along a path. | Improve this Doc View Source Transform(Matrix3x2) Transforms the rectangle using specified matrix. Declaration public EllipsePolygon Transform(Matrix3x2 matrix) Parameters Type Name Description Matrix3x2 matrix The matrix. Returns Type Description EllipsePolygon A new path with the matrix applied to it. Explicit Interface Implementations | Improve this Doc View Source IPath.AsClosedPath() Returns this polygon as a path Declaration IPath IPath.AsClosedPath() Returns Type Description IPath This polygon as a path | Improve this Doc View Source IPath.FindIntersections(PointF, PointF, PointF[], Int32) Based on a line described by start and end populate a buffer for all points on the polygon that the line intersects. Declaration int IPath.FindIntersections(PointF start, PointF end, PointF[] buffer, int offset) Parameters Type Name Description PointF start The start point of the line. PointF end The end point of the line. PointF [] buffer The buffer that will be populated with intersections. Int32 offset The offset within the buffer to start. Returns Type Description Int32 The number of intersections populated into the buffer. | Improve this Doc View Source IPath.FindIntersections(PointF, PointF, PointF[], Int32, IntersectionRule) Based on a line described by start and end populate a buffer for all points on the polygon that the line intersects. Declaration int IPath.FindIntersections(PointF start, PointF end, PointF[] buffer, int offset, IntersectionRule intersectionRule) Parameters Type Name Description PointF start The start point of the line. PointF end The end point of the line. PointF [] buffer The buffer that will be populated with intersections. Int32 offset The offset within the buffer to start. IntersectionRule intersectionRule How intersections are handled Returns Type Description Int32 The number of intersections populated into the buffer. | Improve this Doc View Source IPath.FindIntersections(PointF, PointF, Span) Based on a line described by start and end populate a buffer for all points on the polygon that the line intersects. Declaration int IPath.FindIntersections(PointF start, PointF end, Span buffer) Parameters Type Name Description PointF start The start point of the line. PointF end The end point of the line. Span < PointF > buffer The buffer that will be populated with intersections. Returns Type Description Int32 The number of intersections populated into the buffer. | Improve this Doc View Source IPath.FindIntersections(PointF, PointF, Span, IntersectionRule) Based on a line described by start and end populate a buffer for all points on the polygon that the line intersects. Declaration int IPath.FindIntersections(PointF start, PointF end, Span buffer, IntersectionRule intersectionRule) Parameters Type Name Description PointF start The start point of the line. PointF end The end point of the line. Span < PointF > buffer The buffer that will be populated with intersections. IntersectionRule intersectionRule How intersections are handled Returns Type Description Int32 The number of intersections populated into the buffer. | Improve this Doc View Source IPath.MaxIntersections Gets the maximum number intersections that a shape can have when testing a line. Declaration int IPath.MaxIntersections { get; } Returns Type Description Int32 | Improve this Doc View Source IPath.PathType Gets a value indicating whether this instance is closed, open or a composite path with a mixture of open and closed figures. Declaration PathTypes IPath.PathType { get; } Returns Type Description PathTypes | Improve this Doc View Source IPath.Transform(Matrix3x2) Transforms the path using the specified matrix. Declaration IPath IPath.Transform(Matrix3x2 matrix) Parameters Type Name Description Matrix3x2 matrix The matrix. Returns Type Description IPath A new path with the matrix applied to it. | Improve this Doc View Source ISimplePath.IsClosed Gets a value indicating whether this instance is a closed path. Declaration bool ISimplePath.IsClosed { get; } Returns Type Description Boolean | Improve this Doc View Source ISimplePath.Points Gets the points that make up this simple linear path. Declaration ReadOnlyMemory ISimplePath.Points { get; } Returns Type Description ReadOnlyMemory < PointF > Implements IPath ISimplePath Extension Methods ClipperExtensions.Clip(IPath, IEnumerable) ClipperExtensions.Clip(IPath, IPath[]) Outliner.GenerateOutline(IPath, Single, Single[]) Outliner.GenerateOutline(IPath, Single, ReadOnlySpan) Outliner.GenerateOutline(IPath, Single, Single[], Boolean) Outliner.GenerateOutline(IPath, Single, ReadOnlySpan, Boolean) Outliner.GenerateOutline(IPath, Single, ReadOnlySpan, Boolean, JointStyle, EndCapStyle) Outliner.GenerateOutline(IPath, Single) Outliner.GenerateOutline(IPath, Single, JointStyle, EndCapStyle) PathExtensions.Rotate(IPath, Single) PathExtensions.RotateDegree(IPath, Single) PathExtensions.Translate(IPath, PointF) PathExtensions.Translate(IPath, Single, Single) PathExtensions.Scale(IPath, Single, Single) PathExtensions.Scale(IPath, Single) PathExtensions.FindIntersections(IPath, PointF, PointF)" + "keywords": "Class EllipsePolygon A shape made up of a single path made up of one of more ILineSegment s Inheritance Object EllipsePolygon Implements IPath ISimplePath Inherited Members Object.Equals(Object) Object.Equals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Object.ReferenceEquals(Object, Object) Object.ToString() Namespace : SixLabors.ImageSharp.Drawing Assembly : SixLabors.ImageSharp.Drawing.dll Syntax public class EllipsePolygon : IPath, ISimplePath, IInternalPathOwner Constructors | Improve this Doc View Source EllipsePolygon(PointF, SizeF) Initializes a new instance of the EllipsePolygon class. Declaration public EllipsePolygon(PointF location, SizeF size) Parameters Type Name Description PointF location The location the center of the ellipse will be placed. SizeF size The width/hight of the final ellipse. | Improve this Doc View Source EllipsePolygon(PointF, Single) Initializes a new instance of the EllipsePolygon class. Declaration public EllipsePolygon(PointF location, float radius) Parameters Type Name Description PointF location The location the center of the circle will be placed. Single radius The radius final circle. | Improve this Doc View Source EllipsePolygon(Single, Single, Single) Initializes a new instance of the EllipsePolygon class. Declaration public EllipsePolygon(float x, float y, float radius) Parameters Type Name Description Single x The X coordinate of the center of the circle. Single y The Y coordinate of the center of the circle. Single radius The radius final circle. | Improve this Doc View Source EllipsePolygon(Single, Single, Single, Single) Initializes a new instance of the EllipsePolygon class. Declaration public EllipsePolygon(float x, float y, float width, float height) Parameters Type Name Description Single x The X coordinate of the center of the ellipse. Single y The Y coordinate of the center of the ellipse. Single width The width the ellipse should have. Single height The height the ellipse should have. Properties | Improve this Doc View Source Bounds Declaration public RectangleF Bounds { get; } Property Value Type Description RectangleF | Improve this Doc View Source Length Declaration public float Length { get; } Property Value Type Description Single Methods | Improve this Doc View Source Contains(PointF) Determines whether the IPath contains the specified point Declaration public bool Contains(PointF point) Parameters Type Name Description PointF point The point. Returns Type Description Boolean true if the IPath contains the specified point; otherwise, false . | Improve this Doc View Source Distance(PointF) Declaration public PointInfo Distance(PointF point) Parameters Type Name Description PointF point Returns Type Description PointInfo | Improve this Doc View Source Flatten() Converts the IPath into a simple linear path.. Declaration public IEnumerable Flatten() Returns Type Description IEnumerable < ISimplePath > Returns the current IPath as simple linear path. | Improve this Doc View Source PointAlongPath(Single) Declaration public SegmentInfo PointAlongPath(float distanceAlongPath) Parameters Type Name Description Single distanceAlongPath Returns Type Description SegmentInfo | Improve this Doc View Source Transform(Matrix3x2) Transforms the rectangle using specified matrix. Declaration public EllipsePolygon Transform(Matrix3x2 matrix) Parameters Type Name Description Matrix3x2 matrix The matrix. Returns Type Description EllipsePolygon A new path with the matrix applied to it. Explicit Interface Implementations | Improve this Doc View Source IPath.AsClosedPath() Returns this polygon as a path Declaration IPath IPath.AsClosedPath() Returns Type Description IPath This polygon as a path | Improve this Doc View Source IPath.FindIntersections(PointF, PointF, PointF[], Int32) Declaration int IPath.FindIntersections(PointF start, PointF end, PointF[] buffer, int offset) Parameters Type Name Description PointF start PointF end PointF [] buffer Int32 offset Returns Type Description Int32 | Improve this Doc View Source IPath.FindIntersections(PointF, PointF, PointF[], Int32, IntersectionRule) Declaration int IPath.FindIntersections(PointF start, PointF end, PointF[] buffer, int offset, IntersectionRule intersectionRule) Parameters Type Name Description PointF start PointF end PointF [] buffer Int32 offset IntersectionRule intersectionRule Returns Type Description Int32 | Improve this Doc View Source IPath.FindIntersections(PointF, PointF, Span) Declaration int IPath.FindIntersections(PointF start, PointF end, Span buffer) Parameters Type Name Description PointF start PointF end Span < PointF > buffer Returns Type Description Int32 | Improve this Doc View Source IPath.FindIntersections(PointF, PointF, Span, IntersectionRule) Declaration int IPath.FindIntersections(PointF start, PointF end, Span buffer, IntersectionRule intersectionRule) Parameters Type Name Description PointF start PointF end Span < PointF > buffer IntersectionRule intersectionRule Returns Type Description Int32 | Improve this Doc View Source IPath.MaxIntersections Gets the maximum number intersections that a shape can have when testing a line. Declaration int IPath.MaxIntersections { get; } Returns Type Description Int32 | Improve this Doc View Source IPath.PathType Gets a value indicating whether this instance is closed, open or a composite path with a mixture of open and closed figures. Declaration PathTypes IPath.PathType { get; } Returns Type Description PathTypes | Improve this Doc View Source IPath.Transform(Matrix3x2) Transforms the path using the specified matrix. Declaration IPath IPath.Transform(Matrix3x2 matrix) Parameters Type Name Description Matrix3x2 matrix The matrix. Returns Type Description IPath A new path with the matrix applied to it. | Improve this Doc View Source ISimplePath.IsClosed Gets a value indicating whether this instance is a closed path. Declaration bool ISimplePath.IsClosed { get; } Returns Type Description Boolean | Improve this Doc View Source ISimplePath.Points Gets the points that make up this simple linear path. Declaration ReadOnlyMemory ISimplePath.Points { get; } Returns Type Description ReadOnlyMemory < PointF > Implements IPath ISimplePath Extension Methods ClipperExtensions.Clip(IPath, IEnumerable) ClipperExtensions.Clip(IPath, IPath[]) Outliner.GenerateOutline(IPath, Single, Single[]) Outliner.GenerateOutline(IPath, Single, ReadOnlySpan) Outliner.GenerateOutline(IPath, Single, Single[], Boolean) Outliner.GenerateOutline(IPath, Single, ReadOnlySpan, Boolean) Outliner.GenerateOutline(IPath, Single, ReadOnlySpan, Boolean, JointStyle, EndCapStyle) Outliner.GenerateOutline(IPath, Single) Outliner.GenerateOutline(IPath, Single, JointStyle, EndCapStyle) PathExtensions.Rotate(IPath, Single) PathExtensions.RotateDegree(IPath, Single) PathExtensions.Translate(IPath, PointF) PathExtensions.Translate(IPath, Single, Single) PathExtensions.Scale(IPath, Single, Single) PathExtensions.Scale(IPath, Single) PathExtensions.FindIntersections(IPath, PointF, PointF)" }, "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.EndCapStyle.html": { "href": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.EndCapStyle.html", @@ -252,7 +252,7 @@ "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Path.html": { "href": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Path.html", "title": "Class Path", - "keywords": "Class Path A aggregate of ILineSegment s making a single logical path Inheritance Object Path Polygon Implements IPath ISimplePath Inherited Members Object.Equals(Object) Object.Equals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Object.ReferenceEquals(Object, Object) Object.ToString() Namespace : SixLabors.ImageSharp.Drawing Assembly : SixLabors.ImageSharp.Drawing.dll Syntax public class Path : IPath, ISimplePath, IInternalPathOwner Constructors | Improve this Doc View Source Path(ILineSegment[]) Initializes a new instance of the Path class. Declaration public Path(params ILineSegment[] segments) Parameters Type Name Description ILineSegment [] segments The segments. | Improve this Doc View Source Path(Path) Initializes a new instance of the Path class. Declaration public Path(Path path) Parameters Type Name Description Path path The path. | Improve this Doc View Source Path(IEnumerable) Initializes a new instance of the Path class. Declaration public Path(IEnumerable segments) Parameters Type Name Description IEnumerable < ILineSegment > segments The segments. Properties | Improve this Doc View Source Bounds Gets the bounds enclosing the path Declaration public RectangleF Bounds { get; } Property Value Type Description RectangleF | Improve this Doc View Source IsClosed Gets a value indicating whether this instance is a closed path. Declaration protected virtual bool IsClosed { get; } Property Value Type Description Boolean | Improve this Doc View Source Length Gets the length of the path. Declaration public float Length { get; } Property Value Type Description Single | Improve this Doc View Source LineSegments Gets the line segments Declaration public IReadOnlyList LineSegments { get; } Property Value Type Description IReadOnlyList < ILineSegment > | Improve this Doc View Source MaxIntersections Gets the maximum number intersections that a shape can have when testing a line. Declaration public int MaxIntersections { get; } Property Value Type Description Int32 | Improve this Doc View Source PathType Gets a value indicating whether this instance is closed, open or a composite path with a mixture of open and closed figures. Declaration public PathTypes PathType { get; } Property Value Type Description PathTypes Methods | Improve this Doc View Source AsClosedPath() Returns this polygon as a path Declaration public IPath AsClosedPath() Returns Type Description IPath This polygon as a path | Improve this Doc View Source Contains(PointF) Determines whether the IPath contains the specified point Declaration public bool Contains(PointF point) Parameters Type Name Description PointF point The point. Returns Type Description Boolean true if the IPath contains the specified point; otherwise, false . | Improve this Doc View Source Distance(PointF) Calculates the distance along and away from the path for a specified point. Declaration public PointInfo Distance(PointF point) Parameters Type Name Description PointF point The point along the path. Returns Type Description PointInfo Returns details about the point and its distance away from the path. | Improve this Doc View Source FindIntersections(PointF, PointF, PointF[], Int32) Based on a line described by start and end populate a buffer for all points on the polygon that the line intersects. Declaration public int FindIntersections(PointF start, PointF end, PointF[] buffer, int offset) Parameters Type Name Description PointF start The start point of the line. PointF end The end point of the line. PointF [] buffer The buffer that will be populated with intersections. Int32 offset The offset within the buffer to start. Returns Type Description Int32 The number of intersections populated into the buffer. | Improve this Doc View Source FindIntersections(PointF, PointF, PointF[], Int32, IntersectionRule) Based on a line described by start and end populate a buffer for all points on the polygon that the line intersects. Declaration public int FindIntersections(PointF start, PointF end, PointF[] buffer, int offset, IntersectionRule intersectionRule) Parameters Type Name Description PointF start The start point of the line. PointF end The end point of the line. PointF [] buffer The buffer that will be populated with intersections. Int32 offset The offset within the buffer to start. IntersectionRule intersectionRule How intersections are handled Returns Type Description Int32 The number of intersections populated into the buffer. | Improve this Doc View Source FindIntersections(PointF, PointF, Span) Based on a line described by start and end populate a buffer for all points on the polygon that the line intersects. Declaration public int FindIntersections(PointF start, PointF end, Span buffer) Parameters Type Name Description PointF start The start point of the line. PointF end The end point of the line. Span < PointF > buffer The buffer that will be populated with intersections. Returns Type Description Int32 The number of intersections populated into the buffer. | Improve this Doc View Source FindIntersections(PointF, PointF, Span, IntersectionRule) Based on a line described by start and end populate a buffer for all points on the polygon that the line intersects. Declaration public int FindIntersections(PointF start, PointF end, Span buffer, IntersectionRule intersectionRule) Parameters Type Name Description PointF start The start point of the line. PointF end The end point of the line. Span < PointF > buffer The buffer that will be populated with intersections. IntersectionRule intersectionRule How intersections are handled Returns Type Description Int32 The number of intersections populated into the buffer. | Improve this Doc View Source Flatten() Converts the IPath into a simple linear path.. Declaration public IEnumerable Flatten() Returns Type Description IEnumerable < ISimplePath > Returns the current IPath as simple linear path. | Improve this Doc View Source PointAlongPath(Single) Calculates the point a certain distance a path. Declaration public SegmentInfo PointAlongPath(float distanceAlongPath) Parameters Type Name Description Single distanceAlongPath The distance along the path to find details of. Returns Type Description SegmentInfo Returns details about a point along a path. | Improve this Doc View Source Transform(Matrix3x2) Transforms the rectangle using specified matrix. Declaration public virtual IPath Transform(Matrix3x2 matrix) Parameters Type Name Description Matrix3x2 matrix The matrix. Returns Type Description IPath A new path with the matrix applied to it. Explicit Interface Implementations | Improve this Doc View Source ISimplePath.IsClosed Gets a value indicating whether this instance is a closed path. Declaration bool ISimplePath.IsClosed { get; } Returns Type Description Boolean | Improve this Doc View Source ISimplePath.Points Gets the points that make up this simple linear path. Declaration ReadOnlyMemory ISimplePath.Points { get; } Returns Type Description ReadOnlyMemory < PointF > Implements IPath ISimplePath Extension Methods ClipperExtensions.Clip(IPath, IEnumerable) ClipperExtensions.Clip(IPath, IPath[]) Outliner.GenerateOutline(IPath, Single, Single[]) Outliner.GenerateOutline(IPath, Single, ReadOnlySpan) Outliner.GenerateOutline(IPath, Single, Single[], Boolean) Outliner.GenerateOutline(IPath, Single, ReadOnlySpan, Boolean) Outliner.GenerateOutline(IPath, Single, ReadOnlySpan, Boolean, JointStyle, EndCapStyle) Outliner.GenerateOutline(IPath, Single) Outliner.GenerateOutline(IPath, Single, JointStyle, EndCapStyle) PathExtensions.Rotate(IPath, Single) PathExtensions.RotateDegree(IPath, Single) PathExtensions.Translate(IPath, PointF) PathExtensions.Translate(IPath, Single, Single) PathExtensions.Scale(IPath, Single, Single) PathExtensions.Scale(IPath, Single) PathExtensions.FindIntersections(IPath, PointF, PointF) See Also IPath" + "keywords": "Class Path A aggregate of ILineSegment s making a single logical path Inheritance Object Path Polygon Implements IPath ISimplePath Inherited Members Object.Equals(Object) Object.Equals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Object.ReferenceEquals(Object, Object) Object.ToString() Namespace : SixLabors.ImageSharp.Drawing Assembly : SixLabors.ImageSharp.Drawing.dll Syntax public class Path : IPath, ISimplePath, IInternalPathOwner Constructors | Improve this Doc View Source Path(ILineSegment[]) Initializes a new instance of the Path class. Declaration public Path(params ILineSegment[] segments) Parameters Type Name Description ILineSegment [] segments The segments. | Improve this Doc View Source Path(Path) Initializes a new instance of the Path class. Declaration public Path(Path path) Parameters Type Name Description Path path The path. | Improve this Doc View Source Path(IEnumerable) Initializes a new instance of the Path class. Declaration public Path(IEnumerable segments) Parameters Type Name Description IEnumerable < ILineSegment > segments The segments. Properties | Improve this Doc View Source Bounds Declaration public RectangleF Bounds { get; } Property Value Type Description RectangleF | Improve this Doc View Source IsClosed Gets a value indicating whether this instance is a closed path. Declaration protected virtual bool IsClosed { get; } Property Value Type Description Boolean | Improve this Doc View Source Length Gets the length of the path. Declaration public float Length { get; } Property Value Type Description Single | Improve this Doc View Source LineSegments Gets the line segments Declaration public IReadOnlyList LineSegments { get; } Property Value Type Description IReadOnlyList < ILineSegment > | Improve this Doc View Source MaxIntersections Gets the maximum number intersections that a shape can have when testing a line. Declaration public int MaxIntersections { get; } Property Value Type Description Int32 | Improve this Doc View Source PathType Gets a value indicating whether this instance is closed, open or a composite path with a mixture of open and closed figures. Declaration public PathTypes PathType { get; } Property Value Type Description PathTypes Methods | Improve this Doc View Source AsClosedPath() Returns this polygon as a path Declaration public IPath AsClosedPath() Returns Type Description IPath This polygon as a path | Improve this Doc View Source Contains(PointF) Determines whether the IPath contains the specified point Declaration public bool Contains(PointF point) Parameters Type Name Description PointF point The point. Returns Type Description Boolean true if the IPath contains the specified point; otherwise, false . | Improve this Doc View Source Distance(PointF) Declaration public PointInfo Distance(PointF point) Parameters Type Name Description PointF point Returns Type Description PointInfo | Improve this Doc View Source FindIntersections(PointF, PointF, PointF[], Int32) Declaration public int FindIntersections(PointF start, PointF end, PointF[] buffer, int offset) Parameters Type Name Description PointF start PointF end PointF [] buffer Int32 offset Returns Type Description Int32 | Improve this Doc View Source FindIntersections(PointF, PointF, PointF[], Int32, IntersectionRule) Declaration public int FindIntersections(PointF start, PointF end, PointF[] buffer, int offset, IntersectionRule intersectionRule) Parameters Type Name Description PointF start PointF end PointF [] buffer Int32 offset IntersectionRule intersectionRule Returns Type Description Int32 | Improve this Doc View Source FindIntersections(PointF, PointF, Span) Declaration public int FindIntersections(PointF start, PointF end, Span buffer) Parameters Type Name Description PointF start PointF end Span < PointF > buffer Returns Type Description Int32 | Improve this Doc View Source FindIntersections(PointF, PointF, Span, IntersectionRule) Declaration public int FindIntersections(PointF start, PointF end, Span buffer, IntersectionRule intersectionRule) Parameters Type Name Description PointF start PointF end Span < PointF > buffer IntersectionRule intersectionRule Returns Type Description Int32 | Improve this Doc View Source Flatten() Converts the IPath into a simple linear path.. Declaration public IEnumerable Flatten() Returns Type Description IEnumerable < ISimplePath > Returns the current IPath as simple linear path. | Improve this Doc View Source PointAlongPath(Single) Calculates the point a certain distance a path. Declaration public SegmentInfo PointAlongPath(float distanceAlongPath) Parameters Type Name Description Single distanceAlongPath The distance along the path to find details of. Returns Type Description SegmentInfo Returns details about a point along a path. | Improve this Doc View Source Transform(Matrix3x2) Transforms the rectangle using specified matrix. Declaration public virtual IPath Transform(Matrix3x2 matrix) Parameters Type Name Description Matrix3x2 matrix The matrix. Returns Type Description IPath A new path with the matrix applied to it. Explicit Interface Implementations | Improve this Doc View Source ISimplePath.IsClosed Gets a value indicating whether this instance is a closed path. Declaration bool ISimplePath.IsClosed { get; } Returns Type Description Boolean | Improve this Doc View Source ISimplePath.Points Gets the points that make up this simple linear path. Declaration ReadOnlyMemory ISimplePath.Points { get; } Returns Type Description ReadOnlyMemory < PointF > Implements IPath ISimplePath Extension Methods ClipperExtensions.Clip(IPath, IEnumerable) ClipperExtensions.Clip(IPath, IPath[]) Outliner.GenerateOutline(IPath, Single, Single[]) Outliner.GenerateOutline(IPath, Single, ReadOnlySpan) Outliner.GenerateOutline(IPath, Single, Single[], Boolean) Outliner.GenerateOutline(IPath, Single, ReadOnlySpan, Boolean) Outliner.GenerateOutline(IPath, Single, ReadOnlySpan, Boolean, JointStyle, EndCapStyle) Outliner.GenerateOutline(IPath, Single) Outliner.GenerateOutline(IPath, Single, JointStyle, EndCapStyle) PathExtensions.Rotate(IPath, Single) PathExtensions.RotateDegree(IPath, Single) PathExtensions.Translate(IPath, PointF) PathExtensions.Translate(IPath, Single, Single) PathExtensions.Scale(IPath, Single, Single) PathExtensions.Scale(IPath, Single) PathExtensions.FindIntersections(IPath, PointF, PointF) See Also IPath" }, "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.PathBuilder.html": { "href": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.PathBuilder.html", @@ -262,7 +262,7 @@ "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.PathCollection.html": { "href": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.PathCollection.html", "title": "Class PathCollection", - "keywords": "Class PathCollection A aggregate of IPath s to apply common operations to them. Inheritance Object PathCollection Implements IPathCollection IEnumerable < IPath > IEnumerable Inherited Members Object.Equals(Object) Object.Equals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Object.ReferenceEquals(Object, Object) Object.ToString() Namespace : SixLabors.ImageSharp.Drawing Assembly : SixLabors.ImageSharp.Drawing.dll Syntax public class PathCollection : IPathCollection, IEnumerable, IEnumerable Constructors | Improve this Doc View Source PathCollection(IPath[]) Initializes a new instance of the PathCollection class. Declaration public PathCollection(params IPath[] paths) Parameters Type Name Description IPath [] paths The collection of paths | Improve this Doc View Source PathCollection(IEnumerable) Initializes a new instance of the PathCollection class. Declaration public PathCollection(IEnumerable paths) Parameters Type Name Description IEnumerable < IPath > paths The collection of paths Properties | Improve this Doc View Source Bounds Gets the bounds enclosing the path Declaration public RectangleF Bounds { get; } Property Value Type Description RectangleF Methods | Improve this Doc View Source GetEnumerator() Declaration public IEnumerator GetEnumerator() Returns Type Description IEnumerator < IPath > | Improve this Doc View Source Transform(Matrix3x2) Transforms the path using the specified matrix. Declaration public IPathCollection Transform(Matrix3x2 matrix) Parameters Type Name Description Matrix3x2 matrix The matrix. Returns Type Description IPathCollection A new path with the matrix applied to it. Explicit Interface Implementations | Improve this Doc View Source IEnumerable.GetEnumerator() Declaration IEnumerator IEnumerable.GetEnumerator() Returns Type Description IEnumerator Implements IPathCollection System.Collections.Generic.IEnumerable System.Collections.IEnumerable Extension Methods PathExtensions.Rotate(IPathCollection, Single) PathExtensions.RotateDegree(IPathCollection, Single) PathExtensions.Translate(IPathCollection, PointF) PathExtensions.Translate(IPathCollection, Single, Single) PathExtensions.Scale(IPathCollection, Single, Single) PathExtensions.Scale(IPathCollection, Single) See Also IPath" + "keywords": "Class PathCollection A aggregate of IPath s to apply common operations to them. Inheritance Object PathCollection Implements IPathCollection IEnumerable < IPath > IEnumerable Inherited Members Object.Equals(Object) Object.Equals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Object.ReferenceEquals(Object, Object) Object.ToString() Namespace : SixLabors.ImageSharp.Drawing Assembly : SixLabors.ImageSharp.Drawing.dll Syntax public class PathCollection : IPathCollection, IEnumerable, IEnumerable Constructors | Improve this Doc View Source PathCollection(IPath[]) Initializes a new instance of the PathCollection class. Declaration public PathCollection(params IPath[] paths) Parameters Type Name Description IPath [] paths The collection of paths | Improve this Doc View Source PathCollection(IEnumerable) Initializes a new instance of the PathCollection class. Declaration public PathCollection(IEnumerable paths) Parameters Type Name Description IEnumerable < IPath > paths The collection of paths Properties | Improve this Doc View Source Bounds Declaration public RectangleF Bounds { get; } Property Value Type Description RectangleF Methods | Improve this Doc View Source GetEnumerator() Declaration public IEnumerator GetEnumerator() Returns Type Description IEnumerator < IPath > | Improve this Doc View Source Transform(Matrix3x2) Declaration public IPathCollection Transform(Matrix3x2 matrix) Parameters Type Name Description Matrix3x2 matrix Returns Type Description IPathCollection Explicit Interface Implementations | Improve this Doc View Source IEnumerable.GetEnumerator() Declaration IEnumerator IEnumerable.GetEnumerator() Returns Type Description IEnumerator Implements IPathCollection System.Collections.Generic.IEnumerable System.Collections.IEnumerable Extension Methods PathExtensions.Rotate(IPathCollection, Single) PathExtensions.RotateDegree(IPathCollection, Single) PathExtensions.Translate(IPathCollection, PointF) PathExtensions.Translate(IPathCollection, Single, Single) PathExtensions.Scale(IPathCollection, Single, Single) PathExtensions.Scale(IPathCollection, Single) See Also IPath" }, "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.PathExtensions.html": { "href": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.PathExtensions.html", @@ -377,7 +377,7 @@ "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.EllipticGradientBrush.html": { "href": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.EllipticGradientBrush.html", "title": "Class EllipticGradientBrush", - "keywords": "Class EllipticGradientBrush Gradient Brush with elliptic shape. The ellipse is defined by a center point, a point on the longest extension of the ellipse and the ratio between longest and shortest extension. Inheritance Object GradientBrush EllipticGradientBrush Implements IBrush Inherited Members GradientBrush.RepetitionMode GradientBrush.ColorStops Object.Equals(Object) Object.Equals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Object.ReferenceEquals(Object, Object) Object.ToString() Namespace : SixLabors.ImageSharp.Drawing.Processing Assembly : SixLabors.ImageSharp.Drawing.dll Syntax public sealed class EllipticGradientBrush : GradientBrush, IBrush Constructors | Improve this Doc View Source EllipticGradientBrush(PointF, PointF, Single, GradientRepetitionMode, ColorStop[]) Declaration public EllipticGradientBrush(PointF center, PointF referenceAxisEnd, float axisRatio, GradientRepetitionMode repetitionMode, params ColorStop[] colorStops) Parameters Type Name Description PointF center The center of the elliptical gradient and 0 for the color stops. PointF referenceAxisEnd The end point of the reference axis of the ellipse. Single axisRatio The ratio of the axis widths. The second axis' is perpendicular to the reference axis and it's length is the reference axis' length multiplied by this factor. GradientRepetitionMode repetitionMode Defines how the colors of the gradients are repeated. ColorStop [] colorStops the color stops as defined in base class. Methods | Improve this Doc View Source CreateApplicator(Configuration, GraphicsOptions, ImageFrame, RectangleF) Creates the applicator for this brush. Declaration public override BrushApplicator CreateApplicator(Configuration configuration, GraphicsOptions options, ImageFrame source, RectangleF region) where TPixel : struct, IPixel Parameters Type Name Description Configuration configuration The configuration instance to use when performing operations. GraphicsOptions options The graphic options. ImageFrame source The source image. RectangleF region The region the brush will be applied to. Returns Type Description BrushApplicator The BrushApplicator for this brush. Type Parameters Name Description TPixel The pixel type. Overrides SixLabors.ImageSharp.Drawing.Processing.GradientBrush.CreateApplicator(Configuration, GraphicsOptions, ImageFrame, RectangleF) Remarks The region when being applied to things like shapes would usually be the bounding box of the shape not necessarily the bounds of the whole image. Implements IBrush" + "keywords": "Class EllipticGradientBrush Gradient Brush with elliptic shape. The ellipse is defined by a center point, a point on the longest extension of the ellipse and the ratio between longest and shortest extension. Inheritance Object GradientBrush EllipticGradientBrush Implements IBrush Inherited Members GradientBrush.RepetitionMode GradientBrush.ColorStops Object.Equals(Object) Object.Equals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Object.ReferenceEquals(Object, Object) Object.ToString() Namespace : SixLabors.ImageSharp.Drawing.Processing Assembly : SixLabors.ImageSharp.Drawing.dll Syntax public sealed class EllipticGradientBrush : GradientBrush, IBrush Constructors | Improve this Doc View Source EllipticGradientBrush(PointF, PointF, Single, GradientRepetitionMode, ColorStop[]) Declaration public EllipticGradientBrush(PointF center, PointF referenceAxisEnd, float axisRatio, GradientRepetitionMode repetitionMode, params ColorStop[] colorStops) Parameters Type Name Description PointF center The center of the elliptical gradient and 0 for the color stops. PointF referenceAxisEnd The end point of the reference axis of the ellipse. Single axisRatio The ratio of the axis widths. The second axis' is perpendicular to the reference axis and it's length is the reference axis' length multiplied by this factor. GradientRepetitionMode repetitionMode Defines how the colors of the gradients are repeated. ColorStop [] colorStops the color stops as defined in base class. Methods | Improve this Doc View Source CreateApplicator(Configuration, GraphicsOptions, ImageFrame, RectangleF) Declaration public override BrushApplicator CreateApplicator(Configuration configuration, GraphicsOptions options, ImageFrame source, RectangleF region) where TPixel : struct, IPixel Parameters Type Name Description Configuration configuration GraphicsOptions options ImageFrame source RectangleF region Returns Type Description BrushApplicator Type Parameters Name Description TPixel Overrides SixLabors.ImageSharp.Drawing.Processing.GradientBrush.CreateApplicator(Configuration, GraphicsOptions, ImageFrame, RectangleF) Implements IBrush" }, "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.FillExtensions.html": { "href": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.FillExtensions.html", @@ -417,7 +417,7 @@ "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.GradientBrush.html": { "href": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.GradientBrush.html", "title": "Class GradientBrush", - "keywords": "Class GradientBrush Base class for Gradient brushes Inheritance Object GradientBrush EllipticGradientBrush LinearGradientBrush RadialGradientBrush Implements IBrush Inherited Members Object.Equals(Object) Object.Equals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Object.ReferenceEquals(Object, Object) Object.ToString() Namespace : SixLabors.ImageSharp.Drawing.Processing Assembly : SixLabors.ImageSharp.Drawing.dll Syntax public abstract class GradientBrush : IBrush Constructors | Improve this Doc View Source GradientBrush(GradientRepetitionMode, ColorStop[]) Declaration protected GradientBrush(GradientRepetitionMode repetitionMode, params ColorStop[] colorStops) Parameters Type Name Description GradientRepetitionMode repetitionMode Defines how the colors are repeated beyond the interval [0..1] ColorStop [] colorStops The gradient colors. Properties | Improve this Doc View Source ColorStops Gets the list of color stops for this gradient. Declaration protected ColorStop[] ColorStops { get; } Property Value Type Description ColorStop [] | Improve this Doc View Source RepetitionMode Gets how the colors are repeated beyond the interval [0..1]. Declaration protected GradientRepetitionMode RepetitionMode { get; } Property Value Type Description GradientRepetitionMode Methods | Improve this Doc View Source CreateApplicator(Configuration, GraphicsOptions, ImageFrame, RectangleF) Creates the applicator for this brush. Declaration public abstract BrushApplicator CreateApplicator(Configuration configuration, GraphicsOptions options, ImageFrame source, RectangleF region) where TPixel : struct, IPixel Parameters Type Name Description Configuration configuration The configuration instance to use when performing operations. GraphicsOptions options The graphic options. ImageFrame source The source image. RectangleF region The region the brush will be applied to. Returns Type Description BrushApplicator The BrushApplicator for this brush. Type Parameters Name Description TPixel The pixel type. Remarks The region when being applied to things like shapes would usually be the bounding box of the shape not necessarily the bounds of the whole image. Implements IBrush" + "keywords": "Class GradientBrush Base class for Gradient brushes Inheritance Object GradientBrush EllipticGradientBrush LinearGradientBrush RadialGradientBrush Implements IBrush Inherited Members Object.Equals(Object) Object.Equals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Object.ReferenceEquals(Object, Object) Object.ToString() Namespace : SixLabors.ImageSharp.Drawing.Processing Assembly : SixLabors.ImageSharp.Drawing.dll Syntax public abstract class GradientBrush : IBrush Constructors | Improve this Doc View Source GradientBrush(GradientRepetitionMode, ColorStop[]) Declaration protected GradientBrush(GradientRepetitionMode repetitionMode, params ColorStop[] colorStops) Parameters Type Name Description GradientRepetitionMode repetitionMode Defines how the colors are repeated beyond the interval [0..1] ColorStop [] colorStops The gradient colors. Properties | Improve this Doc View Source ColorStops Gets the list of color stops for this gradient. Declaration protected ColorStop[] ColorStops { get; } Property Value Type Description ColorStop [] | Improve this Doc View Source RepetitionMode Gets how the colors are repeated beyond the interval [0..1]. Declaration protected GradientRepetitionMode RepetitionMode { get; } Property Value Type Description GradientRepetitionMode Methods | Improve this Doc View Source CreateApplicator(Configuration, GraphicsOptions, ImageFrame, RectangleF) Declaration public abstract BrushApplicator CreateApplicator(Configuration configuration, GraphicsOptions options, ImageFrame source, RectangleF region) where TPixel : struct, IPixel Parameters Type Name Description Configuration configuration GraphicsOptions options ImageFrame source RectangleF region Returns Type Description BrushApplicator Type Parameters Name Description TPixel Implements IBrush" }, "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.GradientRepetitionMode.html": { "href": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.GradientRepetitionMode.html", @@ -437,7 +437,7 @@ "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.ImageBrush.html": { "href": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.ImageBrush.html", "title": "Class ImageBrush", - "keywords": "Class ImageBrush Provides an implementation of an image brush for painting images within areas. Inheritance Object ImageBrush Implements IBrush Inherited Members Object.Equals(Object) Object.Equals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Object.ReferenceEquals(Object, Object) Object.ToString() Namespace : SixLabors.ImageSharp.Drawing.Processing Assembly : SixLabors.ImageSharp.Drawing.dll Syntax public class ImageBrush : IBrush Constructors | Improve this Doc View Source ImageBrush(Image) Initializes a new instance of the ImageBrush class. Declaration public ImageBrush(Image image) Parameters Type Name Description Image image The image. Methods | Improve this Doc View Source CreateApplicator(Configuration, GraphicsOptions, ImageFrame, RectangleF) Creates the applicator for this brush. Declaration public BrushApplicator CreateApplicator(Configuration configuration, GraphicsOptions options, ImageFrame source, RectangleF region) where TPixel : struct, IPixel Parameters Type Name Description Configuration configuration The configuration instance to use when performing operations. GraphicsOptions options The graphic options. ImageFrame source The source image. RectangleF region The region the brush will be applied to. Returns Type Description BrushApplicator The BrushApplicator for this brush. Type Parameters Name Description TPixel The pixel type. Remarks The region when being applied to things like shapes would usually be the bounding box of the shape not necessarily the bounds of the whole image. Implements IBrush" + "keywords": "Class ImageBrush Provides an implementation of an image brush for painting images within areas. Inheritance Object ImageBrush Implements IBrush Inherited Members Object.Equals(Object) Object.Equals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Object.ReferenceEquals(Object, Object) Object.ToString() Namespace : SixLabors.ImageSharp.Drawing.Processing Assembly : SixLabors.ImageSharp.Drawing.dll Syntax public class ImageBrush : IBrush Constructors | Improve this Doc View Source ImageBrush(Image) Initializes a new instance of the ImageBrush class. Declaration public ImageBrush(Image image) Parameters Type Name Description Image image The image. Methods | Improve this Doc View Source CreateApplicator(Configuration, GraphicsOptions, ImageFrame, RectangleF) Declaration public BrushApplicator CreateApplicator(Configuration configuration, GraphicsOptions options, ImageFrame source, RectangleF region) where TPixel : struct, IPixel Parameters Type Name Description Configuration configuration GraphicsOptions options ImageFrame source RectangleF region Returns Type Description BrushApplicator Type Parameters Name Description TPixel Implements IBrush" }, "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.IPen.html": { "href": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.IPen.html", @@ -447,22 +447,22 @@ "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.LinearGradientBrush.html": { "href": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.LinearGradientBrush.html", "title": "Class LinearGradientBrush", - "keywords": "Class LinearGradientBrush Provides an implementation of a brush for painting linear gradients within areas. Supported right now: a set of colors in relative distances to each other. Inheritance Object GradientBrush LinearGradientBrush Implements IBrush Inherited Members GradientBrush.RepetitionMode GradientBrush.ColorStops Object.Equals(Object) Object.Equals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Object.ReferenceEquals(Object, Object) Object.ToString() Namespace : SixLabors.ImageSharp.Drawing.Processing Assembly : SixLabors.ImageSharp.Drawing.dll Syntax public sealed class LinearGradientBrush : GradientBrush, IBrush Constructors | Improve this Doc View Source LinearGradientBrush(PointF, PointF, GradientRepetitionMode, ColorStop[]) Initializes a new instance of the LinearGradientBrush class. Declaration public LinearGradientBrush(PointF p1, PointF p2, GradientRepetitionMode repetitionMode, params ColorStop[] colorStops) Parameters Type Name Description PointF p1 Start point PointF p2 End point GradientRepetitionMode repetitionMode defines how colors are repeated. ColorStop [] colorStops Methods | Improve this Doc View Source CreateApplicator(Configuration, GraphicsOptions, ImageFrame, RectangleF) Creates the applicator for this brush. Declaration public override BrushApplicator CreateApplicator(Configuration configuration, GraphicsOptions options, ImageFrame source, RectangleF region) where TPixel : struct, IPixel Parameters Type Name Description Configuration configuration The configuration instance to use when performing operations. GraphicsOptions options The graphic options. ImageFrame source The source image. RectangleF region The region the brush will be applied to. Returns Type Description BrushApplicator The BrushApplicator for this brush. Type Parameters Name Description TPixel The pixel type. Overrides SixLabors.ImageSharp.Drawing.Processing.GradientBrush.CreateApplicator(Configuration, GraphicsOptions, ImageFrame, RectangleF) Remarks The region when being applied to things like shapes would usually be the bounding box of the shape not necessarily the bounds of the whole image. Implements IBrush" + "keywords": "Class LinearGradientBrush Provides an implementation of a brush for painting linear gradients within areas. Supported right now: a set of colors in relative distances to each other. Inheritance Object GradientBrush LinearGradientBrush Implements IBrush Inherited Members GradientBrush.RepetitionMode GradientBrush.ColorStops Object.Equals(Object) Object.Equals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Object.ReferenceEquals(Object, Object) Object.ToString() Namespace : SixLabors.ImageSharp.Drawing.Processing Assembly : SixLabors.ImageSharp.Drawing.dll Syntax public sealed class LinearGradientBrush : GradientBrush, IBrush Constructors | Improve this Doc View Source LinearGradientBrush(PointF, PointF, GradientRepetitionMode, ColorStop[]) Initializes a new instance of the LinearGradientBrush class. Declaration public LinearGradientBrush(PointF p1, PointF p2, GradientRepetitionMode repetitionMode, params ColorStop[] colorStops) Parameters Type Name Description PointF p1 Start point PointF p2 End point GradientRepetitionMode repetitionMode defines how colors are repeated. ColorStop [] colorStops Methods | Improve this Doc View Source CreateApplicator(Configuration, GraphicsOptions, ImageFrame, RectangleF) Declaration public override BrushApplicator CreateApplicator(Configuration configuration, GraphicsOptions options, ImageFrame source, RectangleF region) where TPixel : struct, IPixel Parameters Type Name Description Configuration configuration GraphicsOptions options ImageFrame source RectangleF region Returns Type Description BrushApplicator Type Parameters Name Description TPixel Overrides SixLabors.ImageSharp.Drawing.Processing.GradientBrush.CreateApplicator(Configuration, GraphicsOptions, ImageFrame, RectangleF) Implements IBrush" }, "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.PathGradientBrush.html": { "href": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.PathGradientBrush.html", "title": "Class PathGradientBrush", - "keywords": "Class PathGradientBrush Provides an implementation of a brush for painting gradients between multiple color positions in 2D coordinates. It works similarly with the class in System.Drawing.Drawing2D of the same name. Inheritance Object PathGradientBrush Implements IBrush Inherited Members Object.Equals(Object) Object.Equals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Object.ReferenceEquals(Object, Object) Object.ToString() Namespace : SixLabors.ImageSharp.Drawing.Processing Assembly : SixLabors.ImageSharp.Drawing.dll Syntax public sealed class PathGradientBrush : IBrush Constructors | Improve this Doc View Source PathGradientBrush(PointF[], Color[]) Initializes a new instance of the PathGradientBrush class. Declaration public PathGradientBrush(PointF[] points, Color[] colors) Parameters Type Name Description PointF [] points Points that constitute a polygon that represents the gradient area. Color [] colors Array of colors that correspond to each point in the polygon. | Improve this Doc View Source PathGradientBrush(PointF[], Color[], Color) Initializes a new instance of the PathGradientBrush class. Declaration public PathGradientBrush(PointF[] points, Color[] colors, Color centerColor) Parameters Type Name Description PointF [] points Points that constitute a polygon that represents the gradient area. Color [] colors Array of colors that correspond to each point in the polygon. Color centerColor Color at the center of the gradient area to which the other colors converge. Methods | Improve this Doc View Source CreateApplicator(Configuration, GraphicsOptions, ImageFrame, RectangleF) Creates the applicator for this brush. Declaration public BrushApplicator CreateApplicator(Configuration configuration, GraphicsOptions options, ImageFrame source, RectangleF region) where TPixel : struct, IPixel Parameters Type Name Description Configuration configuration The configuration instance to use when performing operations. GraphicsOptions options The graphic options. ImageFrame source The source image. RectangleF region The region the brush will be applied to. Returns Type Description BrushApplicator The BrushApplicator for this brush. Type Parameters Name Description TPixel The pixel type. Remarks The region when being applied to things like shapes would usually be the bounding box of the shape not necessarily the bounds of the whole image. Implements IBrush" + "keywords": "Class PathGradientBrush Provides an implementation of a brush for painting gradients between multiple color positions in 2D coordinates. It works similarly with the class in System.Drawing.Drawing2D of the same name. Inheritance Object PathGradientBrush Implements IBrush Inherited Members Object.Equals(Object) Object.Equals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Object.ReferenceEquals(Object, Object) Object.ToString() Namespace : SixLabors.ImageSharp.Drawing.Processing Assembly : SixLabors.ImageSharp.Drawing.dll Syntax public sealed class PathGradientBrush : IBrush Constructors | Improve this Doc View Source PathGradientBrush(PointF[], Color[]) Initializes a new instance of the PathGradientBrush class. Declaration public PathGradientBrush(PointF[] points, Color[] colors) Parameters Type Name Description PointF [] points Points that constitute a polygon that represents the gradient area. Color [] colors Array of colors that correspond to each point in the polygon. | Improve this Doc View Source PathGradientBrush(PointF[], Color[], Color) Initializes a new instance of the PathGradientBrush class. Declaration public PathGradientBrush(PointF[] points, Color[] colors, Color centerColor) Parameters Type Name Description PointF [] points Points that constitute a polygon that represents the gradient area. Color [] colors Array of colors that correspond to each point in the polygon. Color centerColor Color at the center of the gradient area to which the other colors converge. Methods | Improve this Doc View Source CreateApplicator(Configuration, GraphicsOptions, ImageFrame, RectangleF) Declaration public BrushApplicator CreateApplicator(Configuration configuration, GraphicsOptions options, ImageFrame source, RectangleF region) where TPixel : struct, IPixel Parameters Type Name Description Configuration configuration GraphicsOptions options ImageFrame source RectangleF region Returns Type Description BrushApplicator Type Parameters Name Description TPixel Implements IBrush" }, "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.PatternBrush.html": { "href": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.PatternBrush.html", "title": "Class PatternBrush", - "keywords": "Class PatternBrush Provides an implementation of a pattern brush for painting patterns. Inheritance Object PatternBrush Implements IBrush Inherited Members Object.Equals(Object) Object.Equals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Object.ReferenceEquals(Object, Object) Object.ToString() Namespace : SixLabors.ImageSharp.Drawing.Processing Assembly : SixLabors.ImageSharp.Drawing.dll Syntax public class PatternBrush : IBrush Remarks The patterns that are used to create a custom pattern brush are made up of a repeating matrix of flags, where each flag denotes whether to draw the foreground color or the background color. so to create a new bool[,] with your flags For example if you wanted to create a diagonal line that repeat every 4 pixels you would use a pattern like so 1000 0100 0010 0001 or you want a horizontal stripe which is 3 pixels apart you would use a pattern like 1 0 0 Constructors | Improve this Doc View Source PatternBrush(Color, Color, Boolean[,]) Initializes a new instance of the PatternBrush class. Declaration public PatternBrush(Color foreColor, Color backColor, bool[, ] pattern) Parameters Type Name Description Color foreColor Color of the fore. Color backColor Color of the back. Boolean [,] pattern The pattern. Methods | Improve this Doc View Source CreateApplicator(Configuration, GraphicsOptions, ImageFrame, RectangleF) Creates the applicator for this brush. Declaration public BrushApplicator CreateApplicator(Configuration configuration, GraphicsOptions options, ImageFrame source, RectangleF region) where TPixel : struct, IPixel Parameters Type Name Description Configuration configuration The configuration instance to use when performing operations. GraphicsOptions options The graphic options. ImageFrame source The source image. RectangleF region The region the brush will be applied to. Returns Type Description BrushApplicator The BrushApplicator for this brush. Type Parameters Name Description TPixel The pixel type. Remarks The region when being applied to things like shapes would usually be the bounding box of the shape not necessarily the bounds of the whole image. Implements IBrush" + "keywords": "Class PatternBrush Provides an implementation of a pattern brush for painting patterns. Inheritance Object PatternBrush Implements IBrush Inherited Members Object.Equals(Object) Object.Equals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Object.ReferenceEquals(Object, Object) Object.ToString() Namespace : SixLabors.ImageSharp.Drawing.Processing Assembly : SixLabors.ImageSharp.Drawing.dll Syntax public class PatternBrush : IBrush Remarks The patterns that are used to create a custom pattern brush are made up of a repeating matrix of flags, where each flag denotes whether to draw the foreground color or the background color. so to create a new bool[,] with your flags For example if you wanted to create a diagonal line that repeat every 4 pixels you would use a pattern like so 1000 0100 0010 0001 or you want a horizontal stripe which is 3 pixels apart you would use a pattern like 1 0 0 Constructors | Improve this Doc View Source PatternBrush(Color, Color, Boolean[,]) Initializes a new instance of the PatternBrush class. Declaration public PatternBrush(Color foreColor, Color backColor, bool[, ] pattern) Parameters Type Name Description Color foreColor Color of the fore. Color backColor Color of the back. Boolean [,] pattern The pattern. Methods | Improve this Doc View Source CreateApplicator(Configuration, GraphicsOptions, ImageFrame, RectangleF) Declaration public BrushApplicator CreateApplicator(Configuration configuration, GraphicsOptions options, ImageFrame source, RectangleF region) where TPixel : struct, IPixel Parameters Type Name Description Configuration configuration GraphicsOptions options ImageFrame source RectangleF region Returns Type Description BrushApplicator Type Parameters Name Description TPixel Implements IBrush" }, "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.Pen.html": { "href": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.Pen.html", "title": "Class Pen", - "keywords": "Class Pen Provides a pen that can apply a pattern to a line with a set brush and thickness Inheritance Object Pen Implements IPen Inherited Members Object.Equals(Object) Object.Equals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Object.ReferenceEquals(Object, Object) Object.ToString() Namespace : SixLabors.ImageSharp.Drawing.Processing Assembly : SixLabors.ImageSharp.Drawing.dll Syntax public class Pen : IPen Remarks The pattern will be in to the form of new float[]{ 1f, 2f, 0.5f} this will be converted into a pattern that is 3.5 times longer that the width with 3 sections section 1 will be width long (making a square) and will be filled by the brush section 2 will be width * 2 long and will be empty section 3 will be width/2 long and will be filled the pattern will immediately repeat without gap. Constructors | Improve this Doc View Source Pen(Color, Single) Initializes a new instance of the Pen class. Declaration public Pen(Color color, float width) Parameters Type Name Description Color color The color. Single width The width. | Improve this Doc View Source Pen(Color, Single, Single[]) Initializes a new instance of the Pen class. Declaration public Pen(Color color, float width, float[] pattern) Parameters Type Name Description Color color The color. Single width The width. Single [] pattern The pattern. | Improve this Doc View Source Pen(IBrush, Single) Initializes a new instance of the Pen class. Declaration public Pen(IBrush brush, float width) Parameters Type Name Description IBrush brush The brush. Single width The width. | Improve this Doc View Source Pen(IBrush, Single, Single[]) Initializes a new instance of the Pen class. Declaration public Pen(IBrush brush, float width, float[] pattern) Parameters Type Name Description IBrush brush The brush. Single width The width. Single [] pattern The pattern. Properties | Improve this Doc View Source StrokeFill Gets the stroke fill. Declaration public IBrush StrokeFill { get; } Property Value Type Description IBrush | Improve this Doc View Source StrokePattern Gets the stoke pattern. Declaration public ReadOnlySpan StrokePattern { get; } Property Value Type Description ReadOnlySpan < Single > | Improve this Doc View Source StrokeWidth Gets the width to apply to the stroke Declaration public float StrokeWidth { get; } Property Value Type Description Single Implements IPen" + "keywords": "Class Pen Provides a pen that can apply a pattern to a line with a set brush and thickness Inheritance Object Pen Implements IPen Inherited Members Object.Equals(Object) Object.Equals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Object.ReferenceEquals(Object, Object) Object.ToString() Namespace : SixLabors.ImageSharp.Drawing.Processing Assembly : SixLabors.ImageSharp.Drawing.dll Syntax public class Pen : IPen Remarks The pattern will be in to the form of new float[]{ 1f, 2f, 0.5f} this will be converted into a pattern that is 3.5 times longer that the width with 3 sections section 1 will be width long (making a square) and will be filled by the brush section 2 will be width * 2 long and will be empty section 3 will be width/2 long and will be filled the pattern will immediately repeat without gap. Constructors | Improve this Doc View Source Pen(Color, Single) Initializes a new instance of the Pen class. Declaration public Pen(Color color, float width) Parameters Type Name Description Color color The color. Single width The width. | Improve this Doc View Source Pen(Color, Single, Single[]) Initializes a new instance of the Pen class. Declaration public Pen(Color color, float width, float[] pattern) Parameters Type Name Description Color color The color. Single width The width. Single [] pattern The pattern. | Improve this Doc View Source Pen(IBrush, Single) Initializes a new instance of the Pen class. Declaration public Pen(IBrush brush, float width) Parameters Type Name Description IBrush brush The brush. Single width The width. | Improve this Doc View Source Pen(IBrush, Single, Single[]) Initializes a new instance of the Pen class. Declaration public Pen(IBrush brush, float width, float[] pattern) Parameters Type Name Description IBrush brush The brush. Single width The width. Single [] pattern The pattern. Properties | Improve this Doc View Source StrokeFill Declaration public IBrush StrokeFill { get; } Property Value Type Description IBrush | Improve this Doc View Source StrokePattern Declaration public ReadOnlySpan StrokePattern { get; } Property Value Type Description ReadOnlySpan < Single > | Improve this Doc View Source StrokeWidth Declaration public float StrokeWidth { get; } Property Value Type Description Single Implements IPen" }, "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.Pens.html": { "href": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.Pens.html", @@ -507,12 +507,12 @@ "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.RadialGradientBrush.html": { "href": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.RadialGradientBrush.html", "title": "Class RadialGradientBrush", - "keywords": "Class RadialGradientBrush A radial gradient brush, defined by center point and radius. Inheritance Object GradientBrush RadialGradientBrush Implements IBrush Inherited Members GradientBrush.RepetitionMode GradientBrush.ColorStops Object.Equals(Object) Object.Equals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Object.ReferenceEquals(Object, Object) Object.ToString() Namespace : SixLabors.ImageSharp.Drawing.Processing Assembly : SixLabors.ImageSharp.Drawing.dll Syntax public sealed class RadialGradientBrush : GradientBrush, IBrush Constructors | Improve this Doc View Source RadialGradientBrush(PointF, Single, GradientRepetitionMode, ColorStop[]) Declaration public RadialGradientBrush(PointF center, float radius, GradientRepetitionMode repetitionMode, params ColorStop[] colorStops) Parameters Type Name Description PointF center The center of the circular gradient and 0 for the color stops. Single radius The radius of the circular gradient and 1 for the color stops. GradientRepetitionMode repetitionMode Defines how the colors in the gradient are repeated. ColorStop [] colorStops the color stops as defined in base class. Methods | Improve this Doc View Source CreateApplicator(Configuration, GraphicsOptions, ImageFrame, RectangleF) Creates the applicator for this brush. Declaration public override BrushApplicator CreateApplicator(Configuration configuration, GraphicsOptions options, ImageFrame source, RectangleF region) where TPixel : struct, IPixel Parameters Type Name Description Configuration configuration The configuration instance to use when performing operations. GraphicsOptions options The graphic options. ImageFrame source The source image. RectangleF region The region the brush will be applied to. Returns Type Description BrushApplicator The BrushApplicator for this brush. Type Parameters Name Description TPixel The pixel type. Overrides SixLabors.ImageSharp.Drawing.Processing.GradientBrush.CreateApplicator(Configuration, GraphicsOptions, ImageFrame, RectangleF) Remarks The region when being applied to things like shapes would usually be the bounding box of the shape not necessarily the bounds of the whole image. Implements IBrush" + "keywords": "Class RadialGradientBrush A radial gradient brush, defined by center point and radius. Inheritance Object GradientBrush RadialGradientBrush Implements IBrush Inherited Members GradientBrush.RepetitionMode GradientBrush.ColorStops Object.Equals(Object) Object.Equals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Object.ReferenceEquals(Object, Object) Object.ToString() Namespace : SixLabors.ImageSharp.Drawing.Processing Assembly : SixLabors.ImageSharp.Drawing.dll Syntax public sealed class RadialGradientBrush : GradientBrush, IBrush Constructors | Improve this Doc View Source RadialGradientBrush(PointF, Single, GradientRepetitionMode, ColorStop[]) Declaration public RadialGradientBrush(PointF center, float radius, GradientRepetitionMode repetitionMode, params ColorStop[] colorStops) Parameters Type Name Description PointF center The center of the circular gradient and 0 for the color stops. Single radius The radius of the circular gradient and 1 for the color stops. GradientRepetitionMode repetitionMode Defines how the colors in the gradient are repeated. ColorStop [] colorStops the color stops as defined in base class. Methods | Improve this Doc View Source CreateApplicator(Configuration, GraphicsOptions, ImageFrame, RectangleF) Declaration public override BrushApplicator CreateApplicator(Configuration configuration, GraphicsOptions options, ImageFrame source, RectangleF region) where TPixel : struct, IPixel Parameters Type Name Description Configuration configuration GraphicsOptions options ImageFrame source RectangleF region Returns Type Description BrushApplicator Type Parameters Name Description TPixel Overrides SixLabors.ImageSharp.Drawing.Processing.GradientBrush.CreateApplicator(Configuration, GraphicsOptions, ImageFrame, RectangleF) Implements IBrush" }, "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.RecolorBrush.html": { "href": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.RecolorBrush.html", "title": "Class RecolorBrush", - "keywords": "Class RecolorBrush Provides an implementation of a brush that can recolor an image Inheritance Object RecolorBrush Implements IBrush Inherited Members Object.Equals(Object) Object.Equals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Object.ReferenceEquals(Object, Object) Object.ToString() Namespace : SixLabors.ImageSharp.Drawing.Processing Assembly : SixLabors.ImageSharp.Drawing.dll Syntax public class RecolorBrush : IBrush Constructors | Improve this Doc View Source RecolorBrush(Color, Color, Single) Initializes a new instance of the RecolorBrush class. Declaration public RecolorBrush(Color sourceColor, Color targetColor, float threshold) Parameters Type Name Description Color sourceColor Color of the source. Color targetColor Color of the target. Single threshold The threshold as a value between 0 and 1. Properties | Improve this Doc View Source SourceColor Gets the source color. Declaration public Color SourceColor { get; } Property Value Type Description Color | Improve this Doc View Source TargetColor Gets the target color. Declaration public Color TargetColor { get; } Property Value Type Description Color | Improve this Doc View Source Threshold Gets the threshold. Declaration public float Threshold { get; } Property Value Type Description Single Methods | Improve this Doc View Source CreateApplicator(Configuration, GraphicsOptions, ImageFrame, RectangleF) Creates the applicator for this brush. Declaration public BrushApplicator CreateApplicator(Configuration configuration, GraphicsOptions options, ImageFrame source, RectangleF region) where TPixel : struct, IPixel Parameters Type Name Description Configuration configuration The configuration instance to use when performing operations. GraphicsOptions options The graphic options. ImageFrame source The source image. RectangleF region The region the brush will be applied to. Returns Type Description BrushApplicator The BrushApplicator for this brush. Type Parameters Name Description TPixel The pixel type. Remarks The region when being applied to things like shapes would usually be the bounding box of the shape not necessarily the bounds of the whole image. Implements IBrush" + "keywords": "Class RecolorBrush Provides an implementation of a brush that can recolor an image Inheritance Object RecolorBrush Implements IBrush Inherited Members Object.Equals(Object) Object.Equals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Object.ReferenceEquals(Object, Object) Object.ToString() Namespace : SixLabors.ImageSharp.Drawing.Processing Assembly : SixLabors.ImageSharp.Drawing.dll Syntax public class RecolorBrush : IBrush Constructors | Improve this Doc View Source RecolorBrush(Color, Color, Single) Initializes a new instance of the RecolorBrush class. Declaration public RecolorBrush(Color sourceColor, Color targetColor, float threshold) Parameters Type Name Description Color sourceColor Color of the source. Color targetColor Color of the target. Single threshold The threshold as a value between 0 and 1. Properties | Improve this Doc View Source SourceColor Gets the source color. Declaration public Color SourceColor { get; } Property Value Type Description Color | Improve this Doc View Source TargetColor Gets the target color. Declaration public Color TargetColor { get; } Property Value Type Description Color | Improve this Doc View Source Threshold Gets the threshold. Declaration public float Threshold { get; } Property Value Type Description Single Methods | Improve this Doc View Source CreateApplicator(Configuration, GraphicsOptions, ImageFrame, RectangleF) Declaration public BrushApplicator CreateApplicator(Configuration configuration, GraphicsOptions options, ImageFrame source, RectangleF region) where TPixel : struct, IPixel Parameters Type Name Description Configuration configuration GraphicsOptions options ImageFrame source RectangleF region Returns Type Description BrushApplicator Type Parameters Name Description TPixel Implements IBrush" }, "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.ShapeGraphicOptionsDefaultsExtensions.html": { "href": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.ShapeGraphicOptionsDefaultsExtensions.html", @@ -532,7 +532,7 @@ "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.SolidBrush.html": { "href": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.SolidBrush.html", "title": "Class SolidBrush", - "keywords": "Class SolidBrush Provides an implementation of a solid brush for painting solid color areas. Inheritance Object SolidBrush Implements IBrush Inherited Members Object.Equals(Object) Object.Equals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Object.ReferenceEquals(Object, Object) Object.ToString() Namespace : SixLabors.ImageSharp.Drawing.Processing Assembly : SixLabors.ImageSharp.Drawing.dll Syntax public class SolidBrush : IBrush Constructors | Improve this Doc View Source SolidBrush(Color) Initializes a new instance of the SolidBrush class. Declaration public SolidBrush(Color color) Parameters Type Name Description Color color The color. Properties | Improve this Doc View Source Color Gets the color. Declaration public Color Color { get; } Property Value Type Description Color Methods | Improve this Doc View Source CreateApplicator(Configuration, GraphicsOptions, ImageFrame, RectangleF) Creates the applicator for this brush. Declaration public BrushApplicator CreateApplicator(Configuration configuration, GraphicsOptions options, ImageFrame source, RectangleF region) where TPixel : struct, IPixel Parameters Type Name Description Configuration configuration The configuration instance to use when performing operations. GraphicsOptions options The graphic options. ImageFrame source The source image. RectangleF region The region the brush will be applied to. Returns Type Description BrushApplicator The BrushApplicator for this brush. Type Parameters Name Description TPixel The pixel type. Remarks The region when being applied to things like shapes would usually be the bounding box of the shape not necessarily the bounds of the whole image. Implements IBrush" + "keywords": "Class SolidBrush Provides an implementation of a solid brush for painting solid color areas. Inheritance Object SolidBrush Implements IBrush Inherited Members Object.Equals(Object) Object.Equals(Object, Object) Object.GetHashCode() Object.GetType() Object.MemberwiseClone() Object.ReferenceEquals(Object, Object) Object.ToString() Namespace : SixLabors.ImageSharp.Drawing.Processing Assembly : SixLabors.ImageSharp.Drawing.dll Syntax public class SolidBrush : IBrush Constructors | Improve this Doc View Source SolidBrush(Color) Initializes a new instance of the SolidBrush class. Declaration public SolidBrush(Color color) Parameters Type Name Description Color color The color. Properties | Improve this Doc View Source Color Gets the color. Declaration public Color Color { get; } Property Value Type Description Color Methods | Improve this Doc View Source CreateApplicator(Configuration, GraphicsOptions, ImageFrame, RectangleF) Declaration public BrushApplicator CreateApplicator(Configuration configuration, GraphicsOptions options, ImageFrame source, RectangleF region) where TPixel : struct, IPixel Parameters Type Name Description Configuration configuration GraphicsOptions options ImageFrame source RectangleF region Returns Type Description BrushApplicator Type Parameters Name Description TPixel Implements IBrush" }, "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.TextGraphicsOptions.html": { "href": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.TextGraphicsOptions.html", @@ -552,7 +552,7 @@ "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.RectangularPolygon.html": { "href": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.RectangularPolygon.html", "title": "Class RectangularPolygon", - "keywords": "Class RectangularPolygon A way of optimizing drawing rectangles. Inheritance Object RectangularPolygon Implements IPath ISimplePath Inherited Members Object.Equals(Object, Object) Object.GetType() Object.MemberwiseClone() Object.ReferenceEquals(Object, Object) Object.ToString() Namespace : SixLabors.ImageSharp.Drawing Assembly : SixLabors.ImageSharp.Drawing.dll Syntax public class RectangularPolygon : IPath, ISimplePath Constructors | Improve this Doc View Source RectangularPolygon(PointF, PointF) Initializes a new instance of the RectangularPolygon class. Declaration public RectangularPolygon(PointF topLeft, PointF bottomRight) Parameters Type Name Description PointF topLeft The top left. PointF bottomRight The bottom right. | Improve this Doc View Source RectangularPolygon(PointF, SizeF) Initializes a new instance of the RectangularPolygon class. Declaration public RectangularPolygon(PointF location, SizeF size) Parameters Type Name Description PointF location The location. SizeF size The size. | Improve this Doc View Source RectangularPolygon(RectangleF) Initializes a new instance of the RectangularPolygon class. Declaration public RectangularPolygon(RectangleF rectangle) Parameters Type Name Description RectangleF rectangle The rectangle. | Improve this Doc View Source RectangularPolygon(Single, Single, Single, Single) Initializes a new instance of the RectangularPolygon class. Declaration public RectangularPolygon(float x, float y, float width, float height) Parameters Type Name Description Single x The x. Single y The y. Single width The width. Single height The height. Properties | Improve this Doc View Source Bottom Gets the bottom. Declaration public float Bottom { get; } Property Value Type Description Single The bottom. | Improve this Doc View Source Center Gets the center. Declaration public PointF Center { get; } Property Value Type Description PointF The center. | Improve this Doc View Source Height Gets the height. Declaration public float Height { get; } Property Value Type Description Single The height. | Improve this Doc View Source Left Gets the left. Declaration public float Left { get; } Property Value Type Description Single The left. | Improve this Doc View Source Location Gets the location. Declaration public PointF Location { get; } Property Value Type Description PointF The location. | Improve this Doc View Source Right Gets the right. Declaration public float Right { get; } Property Value Type Description Single The right. | Improve this Doc View Source Size Gets the size. Declaration public SizeF Size { get; } Property Value Type Description SizeF The size. | Improve this Doc View Source Top Gets the top. Declaration public float Top { get; } Property Value Type Description Single The top. | Improve this Doc View Source Width Gets the size. Declaration public float Width { get; } Property Value Type Description Single The size. | Improve this Doc View Source X Gets the X. Declaration public float X { get; } Property Value Type Description Single The X. | Improve this Doc View Source Y Gets the Y. Declaration public float Y { get; } Property Value Type Description Single The Y. Methods | Improve this Doc View Source Contains(PointF) Determines if the specified point is contained within the rectangular region defined by this RectangularPolygon . Declaration public bool Contains(PointF point) Parameters Type Name Description PointF point The point. Returns Type Description Boolean The Boolean | Improve this Doc View Source Distance(PointF) Calculates the distance along and away from the path for a specified point. Declaration public PointInfo Distance(PointF point) Parameters Type Name Description PointF point The point along the path. Returns Type Description PointInfo Returns details about the point and its distance away from the path. | Improve this Doc View Source Equals(RectangularPolygon) Returns whether the rectangles are equal. Declaration public bool Equals(RectangularPolygon other) Parameters Type Name Description RectangularPolygon other The other recentalge. Returns Type Description Boolean Returns a value indicating if the rectangles are equal. | Improve this Doc View Source Equals(Object) Equality comparer for two RectangularPolygons Declaration public override bool Equals(object obj) Parameters Type Name Description Object obj The polygon to compare to. Returns Type Description Boolean Returns a value indicating if the rectangles are equal. Overrides Object.Equals(Object) | Improve this Doc View Source FindIntersections(PointF, PointF, PointF[], Int32) Based on a line described by start and end populate a buffer for all points on the polygon that the line intersects. Declaration public int FindIntersections(PointF start, PointF end, PointF[] buffer, int offset) Parameters Type Name Description PointF start The start point of the line. PointF end The end point of the line. PointF [] buffer The buffer that will be populated with intersections. Int32 offset The offset within the buffer to start. Returns Type Description Int32 The number of intersections populated into the buffer. | Improve this Doc View Source FindIntersections(PointF, PointF, PointF[], Int32, IntersectionRule) Based on a line described by start and end populate a buffer for all points on the polygon that the line intersects. Declaration public int FindIntersections(PointF start, PointF end, PointF[] buffer, int offset, IntersectionRule intersectionRule) Parameters Type Name Description PointF start The start point of the line. PointF end The end point of the line. PointF [] buffer The buffer that will be populated with intersections. Int32 offset The offset within the buffer to start. IntersectionRule intersectionRule How intersections are handled Returns Type Description Int32 The number of intersections populated into the buffer. | Improve this Doc View Source FindIntersections(PointF, PointF, Span) Based on a line described by start and end populate a buffer for all points on the polygon that the line intersects. Declaration public int FindIntersections(PointF start, PointF end, Span buffer) Parameters Type Name Description PointF start The start point of the line. PointF end The end point of the line. Span < PointF > buffer The buffer that will be populated with intersections. Returns Type Description Int32 The number of intersections populated into the buffer. | Improve this Doc View Source FindIntersections(PointF, PointF, Span, IntersectionRule) Based on a line described by start and end populate a buffer for all points on the polygon that the line intersects. Declaration public int FindIntersections(PointF start, PointF end, Span buffer, IntersectionRule intersectionRule) Parameters Type Name Description PointF start The start point of the line. PointF end The end point of the line. Span < PointF > buffer The buffer that will be populated with intersections. IntersectionRule intersectionRule How intersections are handled Returns Type Description Int32 The number of intersections populated into the buffer. | Improve this Doc View Source Flatten() Converts the IPath into a simple linear path.. Declaration public IEnumerable Flatten() Returns Type Description IEnumerable < ISimplePath > Returns the current IPath as simple linear path. | Improve this Doc View Source GetHashCode() Serves as the default hash function. Declaration public override int GetHashCode() Returns Type Description Int32 A hash code for the current object. Overrides Object.GetHashCode() | Improve this Doc View Source PointAlongPath(Single) Calculates the point a certain distance along a path. Declaration public SegmentInfo PointAlongPath(float distanceAlongPath) Parameters Type Name Description Single distanceAlongPath The distance along the path to find details of. Returns Type Description SegmentInfo Returns details about a point along a path. | Improve this Doc View Source Transform(Matrix3x2) Transforms the rectangle using specified matrix. Declaration public IPath Transform(Matrix3x2 matrix) Parameters Type Name Description Matrix3x2 matrix The matrix. Returns Type Description IPath A new shape with the matrix applied to it. Operators | Improve this Doc View Source Explicit(Polygon to RectangularPolygon) Converts the polygon to a rectangular polygon from its bounds. Declaration public static explicit operator RectangularPolygon(Polygon polygon) Parameters Type Name Description Polygon polygon The polygon to convert. Returns Type Description RectangularPolygon Explicit Interface Implementations | Improve this Doc View Source IPath.AsClosedPath() Converts a path to a closed path. Declaration IPath IPath.AsClosedPath() Returns Type Description IPath Returns the path as a closed path. | Improve this Doc View Source IPath.Bounds Gets the bounding box of this shape. Declaration RectangleF IPath.Bounds { get; } Returns Type Description RectangleF The bounds. | Improve this Doc View Source IPath.Length Gets the length of the path. Declaration float IPath.Length { get; } Returns Type Description Single | Improve this Doc View Source IPath.MaxIntersections Gets the maximum number intersections that a shape can have when testing a line. Declaration int IPath.MaxIntersections { get; } Returns Type Description Int32 The maximum intersections. | Improve this Doc View Source IPath.PathType Gets a value indicating whether this instance is closed, open or a composite path with a mixture of open and closed figures. Declaration PathTypes IPath.PathType { get; } Returns Type Description PathTypes | Improve this Doc View Source ISimplePath.IsClosed Gets a value indicating whether this instance is a closed path. Declaration bool ISimplePath.IsClosed { get; } Returns Type Description Boolean | Improve this Doc View Source ISimplePath.Points Gets the points that make this up as a simple linear path. Declaration ReadOnlyMemory ISimplePath.Points { get; } Returns Type Description ReadOnlyMemory < PointF > Implements IPath ISimplePath Extension Methods ClipperExtensions.Clip(IPath, IEnumerable) ClipperExtensions.Clip(IPath, IPath[]) Outliner.GenerateOutline(IPath, Single, Single[]) Outliner.GenerateOutline(IPath, Single, ReadOnlySpan) Outliner.GenerateOutline(IPath, Single, Single[], Boolean) Outliner.GenerateOutline(IPath, Single, ReadOnlySpan, Boolean) Outliner.GenerateOutline(IPath, Single, ReadOnlySpan, Boolean, JointStyle, EndCapStyle) Outliner.GenerateOutline(IPath, Single) Outliner.GenerateOutline(IPath, Single, JointStyle, EndCapStyle) PathExtensions.Rotate(IPath, Single) PathExtensions.RotateDegree(IPath, Single) PathExtensions.Translate(IPath, PointF) PathExtensions.Translate(IPath, Single, Single) PathExtensions.Scale(IPath, Single, Single) PathExtensions.Scale(IPath, Single) PathExtensions.FindIntersections(IPath, PointF, PointF) See Also IPath" + "keywords": "Class RectangularPolygon A way of optimizing drawing rectangles. Inheritance Object RectangularPolygon Implements IPath ISimplePath Inherited Members Object.Equals(Object, Object) Object.GetType() Object.MemberwiseClone() Object.ReferenceEquals(Object, Object) Object.ToString() Namespace : SixLabors.ImageSharp.Drawing Assembly : SixLabors.ImageSharp.Drawing.dll Syntax public class RectangularPolygon : IPath, ISimplePath Constructors | Improve this Doc View Source RectangularPolygon(PointF, PointF) Initializes a new instance of the RectangularPolygon class. Declaration public RectangularPolygon(PointF topLeft, PointF bottomRight) Parameters Type Name Description PointF topLeft The top left. PointF bottomRight The bottom right. | Improve this Doc View Source RectangularPolygon(PointF, SizeF) Initializes a new instance of the RectangularPolygon class. Declaration public RectangularPolygon(PointF location, SizeF size) Parameters Type Name Description PointF location The location. SizeF size The size. | Improve this Doc View Source RectangularPolygon(RectangleF) Initializes a new instance of the RectangularPolygon class. Declaration public RectangularPolygon(RectangleF rectangle) Parameters Type Name Description RectangleF rectangle The rectangle. | Improve this Doc View Source RectangularPolygon(Single, Single, Single, Single) Initializes a new instance of the RectangularPolygon class. Declaration public RectangularPolygon(float x, float y, float width, float height) Parameters Type Name Description Single x The x. Single y The y. Single width The width. Single height The height. Properties | Improve this Doc View Source Bottom Gets the bottom. Declaration public float Bottom { get; } Property Value Type Description Single The bottom. | Improve this Doc View Source Center Gets the center. Declaration public PointF Center { get; } Property Value Type Description PointF The center. | Improve this Doc View Source Height Gets the height. Declaration public float Height { get; } Property Value Type Description Single The height. | Improve this Doc View Source Left Gets the left. Declaration public float Left { get; } Property Value Type Description Single The left. | Improve this Doc View Source Location Gets the location. Declaration public PointF Location { get; } Property Value Type Description PointF The location. | Improve this Doc View Source Right Gets the right. Declaration public float Right { get; } Property Value Type Description Single The right. | Improve this Doc View Source Size Gets the size. Declaration public SizeF Size { get; } Property Value Type Description SizeF The size. | Improve this Doc View Source Top Gets the top. Declaration public float Top { get; } Property Value Type Description Single The top. | Improve this Doc View Source Width Gets the size. Declaration public float Width { get; } Property Value Type Description Single The size. | Improve this Doc View Source X Gets the X. Declaration public float X { get; } Property Value Type Description Single The X. | Improve this Doc View Source Y Gets the Y. Declaration public float Y { get; } Property Value Type Description Single The Y. Methods | Improve this Doc View Source Contains(PointF) Determines if the specified point is contained within the rectangular region defined by this RectangularPolygon . Declaration public bool Contains(PointF point) Parameters Type Name Description PointF point The point. Returns Type Description Boolean The Boolean | Improve this Doc View Source Distance(PointF) Calculates the distance along and away from the path for a specified point. Declaration public PointInfo Distance(PointF point) Parameters Type Name Description PointF point The point along the path. Returns Type Description PointInfo Returns details about the point and its distance away from the path. | Improve this Doc View Source Equals(RectangularPolygon) Returns whether the rectangles are equal. Declaration public bool Equals(RectangularPolygon other) Parameters Type Name Description RectangularPolygon other The other recentalge. Returns Type Description Boolean Returns a value indicating if the rectangles are equal. | Improve this Doc View Source Equals(Object) Equality comparer for two RectangularPolygons Declaration public override bool Equals(object obj) Parameters Type Name Description Object obj The polygon to compare to. Returns Type Description Boolean Returns a value indicating if the rectangles are equal. Overrides Object.Equals(Object) | Improve this Doc View Source FindIntersections(PointF, PointF, PointF[], Int32) Declaration public int FindIntersections(PointF start, PointF end, PointF[] buffer, int offset) Parameters Type Name Description PointF start PointF end PointF [] buffer Int32 offset Returns Type Description Int32 | Improve this Doc View Source FindIntersections(PointF, PointF, PointF[], Int32, IntersectionRule) Declaration public int FindIntersections(PointF start, PointF end, PointF[] buffer, int offset, IntersectionRule intersectionRule) Parameters Type Name Description PointF start PointF end PointF [] buffer Int32 offset IntersectionRule intersectionRule Returns Type Description Int32 | Improve this Doc View Source FindIntersections(PointF, PointF, Span) Declaration public int FindIntersections(PointF start, PointF end, Span buffer) Parameters Type Name Description PointF start PointF end Span < PointF > buffer Returns Type Description Int32 | Improve this Doc View Source FindIntersections(PointF, PointF, Span, IntersectionRule) Declaration public int FindIntersections(PointF start, PointF end, Span buffer, IntersectionRule intersectionRule) Parameters Type Name Description PointF start PointF end Span < PointF > buffer IntersectionRule intersectionRule Returns Type Description Int32 | Improve this Doc View Source Flatten() Converts the IPath into a simple linear path.. Declaration public IEnumerable Flatten() Returns Type Description IEnumerable < ISimplePath > Returns the current IPath as simple linear path. | Improve this Doc View Source GetHashCode() Serves as the default hash function. Declaration public override int GetHashCode() Returns Type Description Int32 A hash code for the current object. Overrides Object.GetHashCode() | Improve this Doc View Source PointAlongPath(Single) Declaration public SegmentInfo PointAlongPath(float distanceAlongPath) Parameters Type Name Description Single distanceAlongPath Returns Type Description SegmentInfo | Improve this Doc View Source Transform(Matrix3x2) Transforms the rectangle using specified matrix. Declaration public IPath Transform(Matrix3x2 matrix) Parameters Type Name Description Matrix3x2 matrix The matrix. Returns Type Description IPath A new shape with the matrix applied to it. Operators | Improve this Doc View Source Explicit(Polygon to RectangularPolygon) Converts the polygon to a rectangular polygon from its bounds. Declaration public static explicit operator RectangularPolygon(Polygon polygon) Parameters Type Name Description Polygon polygon The polygon to convert. Returns Type Description RectangularPolygon Explicit Interface Implementations | Improve this Doc View Source IPath.AsClosedPath() Converts a path to a closed path. Declaration IPath IPath.AsClosedPath() Returns Type Description IPath Returns the path as a closed path. | Improve this Doc View Source IPath.Bounds Gets the bounding box of this shape. Declaration RectangleF IPath.Bounds { get; } Returns Type Description RectangleF The bounds. | Improve this Doc View Source IPath.Length Declaration float IPath.Length { get; } Returns Type Description Single | Improve this Doc View Source IPath.MaxIntersections Gets the maximum number intersections that a shape can have when testing a line. Declaration int IPath.MaxIntersections { get; } Returns Type Description Int32 The maximum intersections. | Improve this Doc View Source IPath.PathType Gets a value indicating whether this instance is closed, open or a composite path with a mixture of open and closed figures. Declaration PathTypes IPath.PathType { get; } Returns Type Description PathTypes | Improve this Doc View Source ISimplePath.IsClosed Gets a value indicating whether this instance is a closed path. Declaration bool ISimplePath.IsClosed { get; } Returns Type Description Boolean | Improve this Doc View Source ISimplePath.Points Gets the points that make this up as a simple linear path. Declaration ReadOnlyMemory ISimplePath.Points { get; } Returns Type Description ReadOnlyMemory < PointF > Implements IPath ISimplePath Extension Methods ClipperExtensions.Clip(IPath, IEnumerable) ClipperExtensions.Clip(IPath, IPath[]) Outliner.GenerateOutline(IPath, Single, Single[]) Outliner.GenerateOutline(IPath, Single, ReadOnlySpan) Outliner.GenerateOutline(IPath, Single, Single[], Boolean) Outliner.GenerateOutline(IPath, Single, ReadOnlySpan, Boolean) Outliner.GenerateOutline(IPath, Single, ReadOnlySpan, Boolean, JointStyle, EndCapStyle) Outliner.GenerateOutline(IPath, Single) Outliner.GenerateOutline(IPath, Single, JointStyle, EndCapStyle) PathExtensions.Rotate(IPath, Single) PathExtensions.RotateDegree(IPath, Single) PathExtensions.Translate(IPath, PointF) PathExtensions.Translate(IPath, Single, Single) PathExtensions.Scale(IPath, Single, Single) PathExtensions.Scale(IPath, Single) PathExtensions.FindIntersections(IPath, PointF, PointF) See Also IPath" }, "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Region.html": { "href": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Region.html", diff --git a/docs/manifest.json b/docs/manifest.json index d9cf346e..c52239f4 100644 --- a/docs/manifest.json +++ b/docs/manifest.json @@ -126,7 +126,7 @@ "output": { ".html": { "relative_path": "api/Fonts/SixLabors.Fonts.FontCollection.html", - "hash": "XxbbNzykbP5I5uXRpknmNw==" + "hash": "YEnLBAbNg9SH5jcYKwIb6g==" } }, "is_incremental": false, @@ -174,7 +174,7 @@ "output": { ".html": { "relative_path": "api/Fonts/SixLabors.Fonts.FontInstance.html", - "hash": "2S9hSIytjcmX85Jm1LJeew==" + "hash": "6PuUge8hqk3qZInhQBU5HQ==" } }, "is_incremental": false, @@ -474,7 +474,7 @@ "output": { ".html": { "relative_path": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.ComplexPolygon.html", - "hash": "HSIcaQJaxIArTwhFLsO1xg==" + "hash": "pAy88FeshthyuOUHdinVLQ==" } }, "is_incremental": false, @@ -498,7 +498,7 @@ "output": { ".html": { "relative_path": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.EllipsePolygon.html", - "hash": "w+pFQpXpmpmalPV9KK9LUA==" + "hash": "8KiW312kwxoqYK/Fq0ZHvQ==" } }, "is_incremental": false, @@ -618,7 +618,7 @@ "output": { ".html": { "relative_path": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Path.html", - "hash": "6wO43ffqfVukf8uDQv0s0w==" + "hash": "0WPnSJdn+h4xStAesQGQIA==" } }, "is_incremental": false, @@ -642,7 +642,7 @@ "output": { ".html": { "relative_path": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.PathCollection.html", - "hash": "E8mZ1YVli+7zskmheZrpiQ==" + "hash": "P5hx4A12s6YC0oGxOB8ywg==" } }, "is_incremental": false, @@ -918,7 +918,7 @@ "output": { ".html": { "relative_path": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.EllipticGradientBrush.html", - "hash": "BpUb0lVHhlbwut20foVFxg==" + "hash": "OPTiJUp2vpJN6sew5RFFUg==" } }, "is_incremental": false, @@ -1014,7 +1014,7 @@ "output": { ".html": { "relative_path": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.GradientBrush.html", - "hash": "ZIkSLwFdhTKTj6ug6Zohtg==" + "hash": "v9qThnHrHwpzNlZLxqskuw==" } }, "is_incremental": false, @@ -1038,7 +1038,7 @@ "output": { ".html": { "relative_path": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.IBrush.html", - "hash": "i+J+gu06myxI7KTG8/qe/w==" + "hash": "1T9sWMt30INNyIlElIuSkw==" } }, "is_incremental": false, @@ -1062,7 +1062,7 @@ "output": { ".html": { "relative_path": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.ImageBrush.html", - "hash": "weGW1BuZ+PQ8lT0RGvCKFw==" + "hash": "yN3jGSfmfEqQ9N3iGsTZ6A==" } }, "is_incremental": false, @@ -1074,7 +1074,7 @@ "output": { ".html": { "relative_path": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.LinearGradientBrush.html", - "hash": "KdmLZBg152VuofKbajiYEA==" + "hash": "sRbzp8RUEVbsna9Wwk6qwg==" } }, "is_incremental": false, @@ -1086,7 +1086,7 @@ "output": { ".html": { "relative_path": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.PathGradientBrush.html", - "hash": "01uuydaCoKnIEyQOSvqj0w==" + "hash": "Bphesbi650wuQUFtTlSYmA==" } }, "is_incremental": false, @@ -1098,7 +1098,7 @@ "output": { ".html": { "relative_path": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.PatternBrush.html", - "hash": "HsEG9U0NxPuXG34D2mfGtQ==" + "hash": "ong4BwaZSB1fmXDrGnkkiw==" } }, "is_incremental": false, @@ -1110,7 +1110,7 @@ "output": { ".html": { "relative_path": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.Pen.html", - "hash": "bJhHxJpoVrOIT8lC+K6+QA==" + "hash": "2Ho1KiHQ9X01Sy3HROtQfQ==" } }, "is_incremental": false, @@ -1134,7 +1134,7 @@ "output": { ".html": { "relative_path": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.Processors.Drawing.DrawPathProcessor.html", - "hash": "hHDcoIBbfwo1h9I7Z7O7+w==" + "hash": "FBmITZyrqIz+mlvVGd9vIw==" } }, "is_incremental": false, @@ -1146,7 +1146,7 @@ "output": { ".html": { "relative_path": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.Processors.Drawing.FillPathProcessor.html", - "hash": "2fZpjHMil+ubx/v8yUngwA==" + "hash": "baW8XBDpiHJrOgqJ7tCeqA==" } }, "is_incremental": false, @@ -1158,7 +1158,7 @@ "output": { ".html": { "relative_path": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.Processors.Drawing.FillProcessor.html", - "hash": "oacUlFwHThxAghA+WGWuEA==" + "hash": "V70DfYkcnSfzDiFHDA5gwg==" } }, "is_incremental": false, @@ -1170,7 +1170,7 @@ "output": { ".html": { "relative_path": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.Processors.Drawing.FillRegionProcessor.html", - "hash": "IxJHgHwaRfldoizN0e7IyQ==" + "hash": "iLygRTxMd7wPQ1Re+gq3Mg==" } }, "is_incremental": false, @@ -1194,7 +1194,7 @@ "output": { ".html": { "relative_path": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.Processors.Text.DrawTextProcessor.html", - "hash": "/eiqSZjx0SYVaTu8AhZSmg==" + "hash": "HR1BCXDIjmyLZrUUEO3bFQ==" } }, "is_incremental": false, @@ -1218,7 +1218,7 @@ "output": { ".html": { "relative_path": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.RadialGradientBrush.html", - "hash": "BK5y9GClQq0dQtAYCOUBcw==" + "hash": "8DuEmFa68IlZaVIGNpbfVg==" } }, "is_incremental": false, @@ -1230,7 +1230,7 @@ "output": { ".html": { "relative_path": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.RecolorBrush.html", - "hash": "IV+GjNBNNeKXqv/Ulbg7yw==" + "hash": "W+iLgkuF0AAmygn9CF4KXA==" } }, "is_incremental": false, @@ -1278,7 +1278,7 @@ "output": { ".html": { "relative_path": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.Processing.SolidBrush.html", - "hash": "xpuTdmcVBmNjoZ6yM668Eg==" + "hash": "7uWfBBIPiZ2mX51rW4cQYg==" } }, "is_incremental": false, @@ -1338,7 +1338,7 @@ "output": { ".html": { "relative_path": "api/ImageSharp.Drawing/SixLabors.ImageSharp.Drawing.RectangularPolygon.html", - "hash": "FRHgZhNzRdIHaekaPTnr9A==" + "hash": "oQscF8P3I79k392iWJggNA==" } }, "is_incremental": false, @@ -7261,23 +7261,25 @@ "incremental_info": [ { "status": { - "can_incremental": true, + "can_incremental": false, + "details": "Cannot build incrementally because last build info is missing.", "incrementalPhase": "build", "total_file_count": 0, - "skipped_file_count": 0 + "skipped_file_count": 0, + "full_build_reason_code": "NoAvailableBuildCache" }, "processors": { "ConceptualDocumentProcessor": { - "can_incremental": true, + "can_incremental": false, "incrementalPhase": "build", "total_file_count": 21, - "skipped_file_count": 21 + "skipped_file_count": 0 }, "ManagedReferenceDocumentProcessor": { - "can_incremental": true, + "can_incremental": false, "incrementalPhase": "build", "total_file_count": 574, - "skipped_file_count": 532 + "skipped_file_count": 0 }, "TocDocumentProcessor": { "can_incremental": false,