Giter Site home page Giter Site logo

java-paint-program's Introduction

Java-Paint-Program

About The Project:

Paint Brush is an Applet based application that enables the user to draw basic shapes with different colors. In addition, the user has the ability to clear all of the drawings or erase some parts of them. The application also supports the Undo operation and the ability to draw with different line strokes (dashed or dotted).

The project is fully developed using Object Oriented Programming.

Implemented features:

1.ColorsButtons: The user presses one of these buttons before drawing to draw using one of these colors: Red, Green, or Blue.

2.ShapesButtons:The user can press one of these buttons before the drawing to draw a shape by dragging from a start point to an end point. The shape is drawn while dragging till the user releases the mouse button.

Implemented shapes: Rectangle, Oval, and Line.

3.Free Hand Button: The user presses on this button to doddle while dragging.

4.Eraser Button:The user presses on this button be able to erase parts of the drawings.

5.Clear All Button: The user presses on this button to clear all of the drawings from the drawing area.

6.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.

7.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 check, it lest the shapes to be drawn as outlines only.

8.Undo Button: It lets the user undo the previous action(s)

9.Change Line Stroke

java-paint-program's People

Contributors

rawan19 avatar

Watchers

James Cloos avatar  avatar Fatma Nabil Ebrahim avatar

Forkers

esraa3rify

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.