Coder Social home page Coder Social logo

aehabv / paint-brush-applet Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 384 KB

Paint Brush is an Applet-based drawing app that uses OOP design. It enables users to draw basic shapes with different colors and line strokes, and includes a Clear All button. The app also supports saving and loading drawings as images, making it a useful tool for sharing and archiving artwork.

License: Other

HTML 0.99% Java 99.01%
applet java java-applet java-paint-drawing java-painter oop paint-application

paint-brush-applet's Introduction

Paint Brush Project Specifications

Language Badge Platform Badge License Badge

Paint Brush is an Applet-based application that enables the user to draw basic shapes with different colors and line strokes. The user can also clear all of the drawings or erase some parts of them. This project demonstrates the use of OOP design and implementation.

Paint Brush Applet Drawing Example

Specifications

  • Colors Buttons: The user should press one of these buttons before drawing to draw using this color. There should be at least the following buttons:

    • Red
    • Green
    • Blue
  • Shapes Buttons: The user should press one of these buttons before drawing to draw a shape by dragging from a start point to an end point. The shape should be drawn while dragging till the user releases the mouse button. There should be the following buttons:

    • Rectangle
    • Oval
    • Line
  • Free Hand Button: The user should press on this button to doodle while dragging.

  • Eraser Button: The user should press on this button to be able to erase parts of the drawings.

  • Clear All Button: The user should press on this button to clear all of the drawings from the drawing area.

  • Filled Checkbox: If checked, it lets the Rectangle or Oval shapes that will be drawn after to be filled with the pre-selected color. If not checked, it lets the shapes to be drawn as outlines only.

  • Bonus:

    • Dotted Checkbox: If checked, it lets the shapes line stroke to be dotted. If not checked, it lets the shapes line strokes to be solid.
    • Load Button: It enables the user to load an image to the drawing area.

This project specification outlines the main features and functionalities of the Paint Brush application.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.