Skip to content

Commit

Permalink
Fix CanvasRenderContext's issue with DrawLineSegments() not overriden
Browse files Browse the repository at this point in the history
  • Loading branch information
BobLd committed Dec 23, 2021
1 parent 88f0379 commit a2df951
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Source/OxyPlot.Avalonia/CanvasRenderContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -211,16 +211,16 @@ private void DrawLineSegmentsByStreamGeometry(
/// <param name="points">The points.</param>
/// <param name="stroke">The stroke color.</param>
/// <param name="thickness">The stroke thickness (in device independent units, 1/96 inch).</param>
/// <param name="edgeRenderingMode">The edge rendering mode.</param>
/// <param name="dashArray">The dash array (in device independent units, 1/96 inch).</param>
/// <param name="lineJoin">The line join type.</param>
/// <param name="edgeRenderingMode">The edge rendering mode.</param>
public void DrawLineSegments(
public override void DrawLineSegments(
IList<ScreenPoint> points,
OxyColor stroke,
double thickness,
EdgeRenderingMode edgeRenderingMode,
double[] dashArray,
LineJoin lineJoin,
EdgeRenderingMode edgeRenderingMode)
LineJoin lineJoin)
{
if (UseStreamGeometry)
{
Expand Down

0 comments on commit a2df951

Please sign in to comment.