Canvas.DrawLines Method

Definition

Overloads

DrawLines(Single[], Paint)

Draw a series of lines.

DrawLines(Single[], Int32, Int32, Paint)

Draw a series of lines.

DrawLines(Single[], Paint)

Draw a series of lines.

[Android.Runtime.Register("drawLines", "([FLandroid/graphics/Paint;)V", "GetDrawLines_arrayFLandroid_graphics_Paint_Handler")]
public virtual void DrawLines (float[] pts, Android.Graphics.Paint paint);
[<Android.Runtime.Register("drawLines", "([FLandroid/graphics/Paint;)V", "GetDrawLines_arrayFLandroid_graphics_Paint_Handler")>]
abstract member DrawLines : single[] * Android.Graphics.Paint -> unit
override this.DrawLines : single[] * Android.Graphics.Paint -> unit

Parameters

pts
Single[]

Array of points to draw [x0 y0 x1 y1 x2 y2 ...]

paint
Paint

The paint used to draw the points

Attributes

Remarks

Java documentation for android.graphics.Canvas.drawLines(float[], int, int, android.graphics.Paint).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

DrawLines(Single[], Int32, Int32, Paint)

Draw a series of lines.

[Android.Runtime.Register("drawLines", "([FIILandroid/graphics/Paint;)V", "GetDrawLines_arrayFIILandroid_graphics_Paint_Handler")]
public virtual void DrawLines (float[] pts, int offset, int count, Android.Graphics.Paint paint);
[<Android.Runtime.Register("drawLines", "([FIILandroid/graphics/Paint;)V", "GetDrawLines_arrayFIILandroid_graphics_Paint_Handler")>]
abstract member DrawLines : single[] * int * int * Android.Graphics.Paint -> unit
override this.DrawLines : single[] * int * int * Android.Graphics.Paint -> unit

Parameters

pts
Single[]

Array of points to draw [x0 y0 x1 y1 x2 y2 ...]

offset
Int32

Number of values in the array to skip before drawing.

count
Int32

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
Paint

The paint used to draw the points

Attributes

Remarks

Java documentation for android.graphics.Canvas.drawLines(float[], int, int, android.graphics.Paint).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to