Skip to content

Commit 60cf9a4

Browse files
committed
Update property name to match the enum.
1 parent 8436ee9 commit 60cf9a4

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/ImageSharp.Drawing/Processing/IPen.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public interface IPen
2828
/// <summary>
2929
/// Gets the stroke joint style
3030
/// </summary>
31-
public JointStyle StrokeJoint { get; }
31+
public JointStyle JointStyle { get; }
3232

3333
/// <summary>
3434
/// Gets the endcap style

src/ImageSharp.Drawing/Processing/Pen.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public Pen(IBrush brush, float width)
7676
public ReadOnlySpan<float> StrokePattern => this.pattern;
7777

7878
/// <inheritdoc/>
79-
public JointStyle StrokeJoint { get; }
79+
public JointStyle JointStyle { get; }
8080

8181
/// <inheritdoc/>
8282
public EndCapStyle EndCap { get; }

src/ImageSharp.Drawing/Processing/Processors/Drawing/DrawPathProcessor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public IImageProcessor<TPixel> CreatePixelSpecificProcessor<TPixel>(Configuratio
4949
// The global transform is applied in the FillPathProcessor.
5050
IPath outline = this.Path
5151
.Transform(Matrix3x2.CreateTranslation(0.5F, 0.5F))
52-
.GenerateOutline(this.Pen.StrokeWidth, this.Pen.StrokePattern, this.Pen.StrokeJoint, this.Pen.EndCap);
52+
.GenerateOutline(this.Pen.StrokeWidth, this.Pen.StrokePattern, this.Pen.JointStyle, this.Pen.EndCap);
5353

5454
return new FillPathProcessor(this.Options, this.Pen.StrokeFill, outline)
5555
.CreatePixelSpecificProcessor(configuration, source, sourceRectangle);

src/ImageSharp.Drawing/Processing/Processors/Text/DrawTextProcessor{TPixel}.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ public void EndGlyph()
306306
}
307307
else
308308
{
309-
path = path.GenerateOutline(this.Pen.StrokeWidth, this.Pen.StrokePattern, this.Pen.StrokeJoint, this.Pen.EndCap);
309+
path = path.GenerateOutline(this.Pen.StrokeWidth, this.Pen.StrokePattern, this.Pen.JointStyle, this.Pen.EndCap);
310310
}
311311

312312
renderData.OutlineMap = this.Render(path);

0 commit comments

Comments
 (0)