Android.Graphics.Canvas.DrawLines Method
Draw a series of lines.

Syntax

[Android.Runtime.Register("drawLines", "([FIILandroid/graphics/Paint;)V", "GetDrawLines_arrayFIILandroid_graphics_Paint_Handler")]
public virtual void DrawLines (float[] pts, int offset, int count, Paint paint)

Parameters

pts
Array of points to draw [x0 y0 x1 y1 x2 y2 ...]
offset
Number of values in the array to skip before drawing.
count
The number of values in the array to process, after skipping "offset" of them. Since each line uses 4 values, the number of "lines" that are drawn is really (count >> 2).
paint
The paint used to draw the points

Remarks

Draw a series of lines. Each line is taken from 4 consecutive values in the pts array. Thus to draw 1 line, the array must contain at least 4 values. This is logically the same as drawing the array as follows: drawLine(pts[0], pts[1], pts[2], pts[3]) followed by drawLine(pts[4], pts[5], pts[6], pts[7]) and so on.

[Android Documentation]

Requirements

Namespace: Android.Graphics
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1