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
- Host: GitHub
- URL: https://github.com/worriedlemon/kjpaint
- Owner: worriedlemon
- Created: 2024-05-07T11:44:31.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-10T19:53:00.000Z (about 2 years ago)
- Last Synced: 2025-02-12T07:25:22.014Z (over 1 year ago)
- Topics: drawing, java-swing, kotlin, paint
- Language: Kotlin
- Homepage:
- Size: 192 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.

*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/).