System.Windows.Media.Imaging.WriteableBitmapExtensions.DrawPolyline C# (CSharp) Метод

DrawPolyline() публичный статический Метод

Draws a polyline. Add the first point also at the end of the array if the line should be closed.
public static DrawPolyline ( this bmp, int points, Color color ) : void
bmp this The WriteableBitmap.
points int The points of the polyline in x and y pairs, therefore the array is interpreted as (x1, y1, x2, y2, ..., xn, yn).
color Color The color for the line.
Результат void
        public static void DrawPolyline(this WriteableBitmap bmp, int[] points, Color color)
        {
            var col = ConvertColor(color);
            bmp.DrawPolyline(points, col);
        }

Same methods

WriteableBitmapExtensions::DrawPolyline ( this bmp, int points, int color ) : void