An open API service indexing awesome lists of open source software.

https://github.com/worriedlemon/kjpaint

Simple drawing program on Kotlin with Java Swing GUI
https://github.com/worriedlemon/kjpaint

drawing java-swing kotlin paint

Last synced: about 1 year ago
JSON representation

Simple drawing program on Kotlin with Java Swing GUI

Awesome Lists containing this project

README

          

# Overview

This is an old coursework project for OOP discipline in university. It represents a simple drawing program written on Kotlin and using `Java Swing` for GUI.

![KJPaint](github_files/kjpaint.jpg)

*Totally didn't spend five hours to paint this preview (not really).*

## Description

In this simple program you can:

+ Draw with "brush" (Left Mouse Button, `LMB`),
+ Erase (Right Mouse Button, `RMB`)
+ Fill closed contour,
+ Change colors for both outline and fill,
+ Draw different simple shapes, such as rectangle, ellipse and straight line,
+ Shapes can take "right" shape by pressing `Shift` -- so, you get square, circle and line with convenient degree (45 or 90 in every direction)
+ Save your ~~masterpiece~~ drawing in file,
+ *Use buffer*: return to previous or next action by pressing `Ctrl + Z` and `Ctrl + Y` hotkeys, respectively.

## Conclusion

Many thanks for icons, [icons8.com](https://icons8.com/).