File tree Expand file tree Collapse file tree
src/ImageSharp.Drawing/Shapes Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ namespace SixLabors.ImageSharp.Drawing
1313 /// </summary>
1414 public static class OutlinePathExtensions
1515 {
16- private const double MiterOffsetDelta = 20 ;
16+ private const float MiterOffsetDelta = 20 ;
1717 private const JointStyle DefaultJointStyle = JointStyle . Square ;
1818 private const EndCapStyle DefaultEndCapStyle = EndCapStyle . Butt ;
1919
Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ internal class ClipperOffset
2222 /// </summary>
2323 /// <param name="meterLimit">meter limit</param>
2424 /// <param name="arcTolerance">arc tolerance</param>
25- public ClipperOffset ( double meterLimit = 2 , double arcTolerance = 0.25 )
26- => this . polygonClipperOffset = new ( ( float ) meterLimit , ( float ) arcTolerance ) ;
25+ public ClipperOffset ( float meterLimit = 2F , float arcTolerance = .25F )
26+ => this . polygonClipperOffset = new ( meterLimit , arcTolerance ) ;
2727
2828 /// <summary>
2929 /// Calculates an offset polygon based on the given path and width.
You can’t perform that action at this time.
0 commit comments