Click or drag to resize
CanvasDrawingSessionDrawLine Method (Vector2, Vector2, ICanvasBrush, Single)
Draws a line of the specified width, using a brush to define the color.

Namespace:  Microsoft.Graphics.Canvas
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public void DrawLine(
	Vector2 point0,
	Vector2 point1,
	ICanvasBrush brush,
	float strokeWidth
)

Parameters

point0
Type: System.NumericsVector2
point1
Type: System.NumericsVector2
brush
Type: Microsoft.Graphics.Canvas.BrushesICanvasBrush
strokeWidth
Type: SystemSingle
See Also