Computer Science, asked by Tankion1521, 6 months ago

Write a syntax of the command used to draw line on the screen

Answers

Answered by kaurmanjot7753
9

Explanation:

To draw lines and boxes on the screen

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.

BF (filled box) draws a box (as ,B) and fills in the interior with points.

Answered by avneetminhas875
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.

Similar questions