Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 119 - 2505_CoreGPT(Podar)_Flipbook_C7
P. 119

    Program 7: To display a message HELLO FRIENDS by changing its font type and font size.

                     LINE Statement

                     The LINE statement is used to draw a straight line between two specified points in the graphics
                     window.

                     Syntax:

                     LINE x1, y1, x2, y2
                         ✶  x1, y1: Coordinates of the starting point of the line.
                         ✶  x2, y2: Coordinates of the ending point of the line.

                     Program 8: To draw a Cross.

                     This program will display a cross shape by drawing two intersecting diagonal lines.

                                                                                             Graphics in BASIC-256      117

| 114 115 116 117 118 119 120 121 122 123 124 |