Skip to content

Commit 36495e7

Browse files
committed
Make properties settable
1 parent 6cd2308 commit 36495e7

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/ImageSharp.Drawing/Processing/IPen.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ public interface IPen
2828
/// <summary>
2929
/// Gets the stroke joint style
3030
/// </summary>
31-
public JointStyle JointStyle { get; }
31+
public JointStyle JointStyle { get; set; }
3232

3333
/// <summary>
3434
/// Gets the endcap style
3535
/// </summary>
36-
public EndCapStyle EndCap { get; }
36+
public EndCapStyle EndCap { get; set; }
3737
}
3838
}

src/ImageSharp.Drawing/Processing/Pen.cs

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

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

8181
/// <inheritdoc/>
82-
public EndCapStyle EndCap { get; }
82+
public EndCapStyle EndCap { get; set; }
8383
}
8484
}

0 commit comments

Comments
 (0)