Android.Graphics.Canvas.DrawLine Method
Draw a line segment with the specified start and stop x,y coordinates, using the specified paint.

Syntax

[Android.Runtime.Register("drawLine", "(FFFFLandroid/graphics/Paint;)V", "GetDrawLine_FFFFLandroid_graphics_Paint_Handler")]
public virtual void DrawLine (float startX, float startY, float stopX, float stopY, Paint paint)

Parameters

startX
The x-coordinate of the start point of the line
startY
The y-coordinate of the start point of the line
stopX
Documentation for this section has not yet been entered.
stopY
Documentation for this section has not yet been entered.
paint
The paint used to draw the line

Remarks

Draw a line segment with the specified start and stop x,y coordinates, using the specified paint.

Note that since a line is always "framed", the Style is ignored in the paint.

Degenerate lines (length is 0) will not be drawn.

[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