Source/OxyPlot.Avalonia/CanvasRenderContext.cs
/// <summary>
/// Draws a collection of ellipses, where all have the same stroke and fill.
/// This performs better than calling DrawEllipse multiple times.
/// </summary>
/// <param name="rectangles">The rectangles.</param>
/// <param name="fill">The fill color. If set to <c>OxyColors.Undefined</c>, the ellipses will not be filled.</param>
/// <param name="stroke">The stroke color. If set to <c>OxyColors.Undefined</c>, the ellipses will not be stroked.</param>
/// <param name="thickness">The stroke thickness (in device independent units, 1/96 inch).</param>
Draws a collection of ellipses, where all have the same stroke and fill.
This performs better than calling DrawEllipse multiple times.
Draws a collection of ellipses where all have the same stroke and fill . This performs better than calling DrawEllipse multiple times .
public void DrawEllipses(IList<OxyRect> rectangles, OxyColor fill, OxyColor stroke, double thickness)
        {
            foreach (var rect in rectangles)
            {
                DrawEllipse(rect, fill, stroke, thickness);
            }
        }
public void DrawEllipses ( IList < OxyRect > rectangles , OxyColor fill , OxyColor stroke , double thickness ) { foreach ( var rect in rectangles ) { DrawEllipse ( rect , fill , stroke , thickness ) ; } }
Draws a collection of ellipses, where all have the same stroke and fill.
Draws a collection of ellipses where all have the same stroke and fill .
rectangles
IList<OxyRect>
None
fill
OxyColor
The fill color. If set to OxyColors.Undefined
The fill color . If set to OxyColors . Undefined
stroke
OxyColor
The stroke color. If set to OxyColors.Undefined
The stroke color . If set to OxyColors . Undefined
thickness
double
The stroke thickness (in device independent units, 1/96 inch).
The stroke thickness ( in device independent units 1 / 96 inch ) .