Home
This site will provide tutorials, reference, and documentation for javaDraw and its submodules.
Welcome to javaDraw's official guides and documentation page! Here you can find resources to help you get started with pyDraw or view certain example programs to see it in action!

What is javaDraw?

javaDraw is a library designed for teachers and students that allows for easy and simple graphics development. Its strengths lie in Object-Oriented Structures and methods, modern methods and interfaces, and an automatic input system that simplifies input to a new degree.
javaDraw is written in Java (hence the name), but if you prefer Python, it has a sister library, pyDraw, which contains the majority of the content in javaDraw, with some differences.

Traditional Method Structure (Getters and Setters)

javaDraw was written to parallel pyDraw in as many ways as possible, including the more modern, python-based method names which introduce ambiguous methods that can be called to get or set a property.
Example: object.color() to get the color and object.color(newColor) to set the color.
If it would be preferable to utilize a more traditional method structure, there is an "AP" version of pyDraw available which replaces the ambiguous methods inherited from pyDraw with the more traditional getters and setters.
Example: object.getColor() and object.setColor(newColor)
Last modified 1yr ago