[]
        
(Showing Draft Content)

C1.Util.DX.Direct2D.RenderTarget.DrawLine

DrawLine Method

DrawLine(Point2F, Point2F, Brush)

Draws a line between the specified points.

Declaration
public void DrawLine(Point2F point0, Point2F point1, Brush brush)
Parameters
Type Name Description
Point2F point0

The start point of the line, in device-independent pixels.

Point2F point1

The end point of the line, in device-independent pixels.

Brush brush

The brush used to paint the line's stroke.

DrawLine(Point2F, Point2F, Brush, float, StrokeStyle)

void ID2D1RenderTarget::DrawLine([In] D2D_POINT_2F point0,[In] D2D_POINT_2F point1,[In] ID2D1Brush* brush,[In] float strokeWidth,[In, Optional] ID2D1StrokeStyle* strokeStyle)

Declaration
public void DrawLine(Point2F point0, Point2F point1, Brush brush, float strokeWidth, StrokeStyle strokeStyle = null)
Parameters
Type Name Description
Point2F point0
Point2F point1
Brush brush
float strokeWidth
StrokeStyle strokeStyle