You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
The application has a window with a canvas element.
You need to draw a black line that has rounded edges at each end.
Which code fragment should you use?
A.
<Line X1=”10″ Y1=”10″ X2=”250″ Y2=”250″ Fill=”Black” StrokeThickness=”15″ UseLayoutRounding=”True” />
B.
<Line X1=”10″ Y1=”10″ X2=”250″ Y2=”250″ Stroke=”Black” StrokeThickness=”15″ StrokeEndLineCap=”Round” StrokeStartLineCap=”Round” />
C.
<Line X1=”10″ Y1=”10″ X2=”250″ Y2=”250″ Fill=”Black” StrokeThickness=”15″ StrokeLineJoin=”Round” />
D.
<Line X1=”10″ Y1=”10″ X2=”250″ Y2=”250″ Stroke=”Black” StrokeThickness=”15″ StrokeDashCap=”Round” />