Giter Site home page Giter Site logo

drawpain's Introduction

这是一个java语言编写的简易的绘图板。

能够实现曲线、直线拖拽、文件保存和打开、正方形(三角形)等绘制。

可以调整线条粗细,可以调整为虚线,可以更改显色,可以实现橡皮擦。

可以实现撤销。

主要供初学者学习。

基于JAVA不知道几实现的画图版

功能

  • 画直线
  • 画椭圆
  • 画矩形
  • 画笔
  • 虚线画笔
  • 画笔颜色
  • 画笔粗细
  • 保存
  • 读取
  • 画45°角直线
  • 画正方形
  • 画圆

截图

空白画板 图片被吃了

画了图的画板 图片被吃了

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.