Skip to content

Releases: ThatsNasu/Ansi

v1.1.1

11 Oct 20:34
Compare
Choose a tag to compare

Fixes:

  • In Color8b some predefined colors were missing a # as leading char for the hexadecimal color codes.

v1.1.0

09 May 06:16
Compare
Choose a tag to compare

What's Changed

  • Color now throws a NullPointerException, when passed argument is null.
  • Now supports three digit hexcodes as color values.

v1.0.0

25 Apr 15:01
Compare
Choose a tag to compare

What's Changed

  • Added Exceptions for malformed rgb and hexadecimal parameters provided to the constructors of Color
  • Added override of toString() in Ansi for continuity and easier use

v0.1.0

24 Apr 13:18
Compare
Choose a tag to compare

Adding this library as dependency

is pretty straight forward. Just grab the jar file and add it to your projects dependencies, or use one of the following build tools.

If you are using Gradle

add the following line to your dependencies:

implementation 'dev.thatsnasu:Ansi:0.1.0'

For Maven

it would be:

<dependency>
    <groupId>dev.thatsnasu</groupId>
    <artifactId>Ansi</artifactId>
    <version>0.1.0</version>
</dependency>

For everything else

Visit maven central and pick the release you like to find the code you need.

Features

  • Predefined, ready to use Colors and Formats
  • Combining Colors and Formats as you like
  • Storing Color and Format-presets for reuse