Give a statement that draws a red diagonal from the upper-left corner of the picture box to the lower-right corner.
(A) ``` gr.DrawLine(Color.Red, 0, 0, picOutput.Width, picOutput.Height)
```
(B) ``` gr.DrawLine(Pens.Red, 0, 0, picOutput.Height, picOutput.Width)
```
(C) ``` gr.DrawLine(Pens.Red, 0, 0, picOutput.Width, picOutput.Height)
```
(D) gr.DrawLine(Pens.Blue, picOutput.Width/2, 0, 0, picOutput.Height/2)
(A) ``` gr.DrawLine(Color.Red, 0, 0, picOutput.Width, picOutput.Height)
```
You might also like to view...
The ____________ is a multiple-alternative decision structure, which allows you to test the value of a variable or an expression and then use that value to determine which statement or set of statements to execute.
a. switch statement b. if statement c. try-catch statement d. else statement
How could an interrupt be communicated to a user-level server?
What will be an ideal response?