Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 852 Bytes

README.md

File metadata and controls

35 lines (26 loc) · 852 Bytes

Box Drawing Art

Use box-drawing character to make sentence.

dependence

Maven

<dependency>
  <groupId>com.hiczp</groupId>
  <artifactId>box-drawing-art</artifactId>
  <version>1.0</version>
</dependency>

Gradle

compile group: 'com.hiczp', name: 'box-drawing-art', version: '1.0'

Usage

Java

System.out.println(BoxDrawingArt.convert("Box Drawing Art"));

Kotlin

println("Box Drawing Art".toBoxDrawingArt())

console:

┬┐ ┌─┐┬ ┬   ┬─┐┬─┐┌─┐┬ ┬ ┬ ┌┐┌┌─┐   ┌─┐┬─┐┌┬┐
├┴┐│ │└┬┘   │ │├┬┘├─┤│││ │ ││││ ┐   ├─┤├┬┘ │ 
┴─┘└─┘┴ ┴   ┴─┘┴└─┴ ┴└┴┘ ┴ ┘└┘└─┘   ┴ ┴┴└─ ┴ 

License

GPL V3