Skip to content
BhavyeMathur edited this page Jul 5, 2020 · 31 revisions

Documentation

I have tried to make this documentation as comprehensive and easy to understand as I could. If there are any questions, feel free to mail me at the address provided below or post an issue on the issues tab.

Anyways, let's get started. This graphics library is object-orientated and is divided into the following classes:

Primitive Classes

  • GraphicsObject - This is a general class for all primitive-objects.
  • Rectangle - This class lets you create, you guessed it, rectangles & squares.
  • Oval - A class for creating ellipses.
  • Circle - A child class of the oval to create circles.
  • Polygon - Create shapes with more vertices!
  • Line - Create Lines!
  • Arc - Create Arcs!
  • Image - Built on top of PIL.
  • Text - Use this to add text to your application and customize the font, colour, style, and more!
  • Entry - Need an input from the user? Use this.

Compound Classes

  • Button - Makes the work of creating and animating a Button easy.
  • CheckBox - Adding a settings page? You can add Checkboxes!
  • CycleButton - Gives you more than 2 states unlike the Checkboxes.
  • RadioButton - Perfect for Multiple Choice Selection related functions.
  • SlideBar - Create a modern-looking Slider to take input from the user!

Other Classes

  • GraphWin - This creates a window for you to draw the other objects on
  • Point - This helps position the objects on the window

But, it is not limited to just this. This next part might not be for everyone, but if you ever require vector graphic functions or easing for your animations, Goopy provides mathematical functions for help with animations and vector graphics:

Mathematical Functions

  • [Easing Functions]
  • [Bezier Curves & Related]
  • [B-Splines]

Installation

To-Do

New Features!

To-Do

Clone this wiki locally