Computer Science, asked by yogendrachauhan385, 3 months ago

Q2:- Write the syntax of the command used to draw a line on screen.

Answers

Answered by varun13154
1

Answer:

x1,y1 and x2,y2 specify the end points of a line. Resolution mode is determined by the SCREEN statement. attribute specifies color or intensity of the displayed pixel (see the COLOR and PALETTE statements). B (box) draws a box with the points (x1,y1) and (x2,y2) at opposite corners.

Answered by pk9070747
0

Answer:

x1,y1 and x2,y2 specify the end points of a line. Resolution mode is determined by the SCREEN statement. attribute specifies color or intensity of the displayed pixel (see the COLOR and PALETTE statements). B (box) draws a box with the points (x1,y1) and (x2,y2) at opposite corners.

hope its help you

Similar questions