Click or drag to resize
CanvasDrawingSessionDrawLine Method (Single, Single, Single, Single, ICanvasBrush)
Draws a line of single unit 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(
	float x0,
	float y0,
	float x1,
	float y1,
	ICanvasBrush brush
)

Parameters

x0
Type: SystemSingle
y0
Type: SystemSingle
x1
Type: SystemSingle
y1
Type: SystemSingle
brush
Type: Microsoft.Graphics.Canvas.BrushesICanvasBrush
See Also