Basic HTML Version

|  | Table of Contents |  | View Full Version

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

    CIRCLE Statements

                     The CIRCLE statement draws a circle, creating a simple circular shape.

                     Syntax:

                     CIRCLE x, y, radius
                         ✶  x, y: Coordinates of the center of the circle.

                         ✶  radius: The radius of the circle.

                     Program 11: To draw a simple circle.

                     This program demonstrates how to draw a circle with the specified radius and center.

                     Program 12: To draw a coloured circle.

                     This program demonstrates how to draw a red-filled circle at the specified coordinates and radius.

                                                                                             Graphics in BASIC-256      119

| 116 117 118 119 120 121 122 123 124 125 126 |