项目作者: Tooo

项目描述 :
Shapes: Java Canvas
高级语言: Java
项目地址: git://github.com/Tooo/Shapes.git
创建时间: 2020-10-13T07:48:34Z
项目社区:https://github.com/Tooo/Shapes

开源协议:

下载


Shapes

Creating shapes with Java Canvas.
Includes custom shapes of Rhombus, Rectangle, and TextBox.

Installation

  1. Download, install and run IntelliJ Community Edition
  2. Click “Get from VCS” or File->New->Project From Version Control
  3. Insert the following URL:
    1. https://github.com/Tooo/Shapes.git
  4. Run MainGUI

Custom Shapes

Rhombus

Draw a Rhombus with the X & Y coordinates on the top-left bounding box.
All four sides of a rhombus are the same.

Rectangle

Draw a Rectangle with the X & Y coordinates on top-left corner of rectangle.
Width and height are the dimensions of the rectangle.

TestBox

Draw a TextBox with drawing a rectangle and a message inside.
The message will be centre aligned and if the message is too long, it will be split across multiple lines.

Picture Test

Rectangle Picture

Rectangle Picture

Rhombus Picture

Rhombus Picture

Text Box Picture

Text Box Picture

Mixed Element Picture

Mixed Element Picture

Front and Back Picture

Front and Back Picture