Class Style

Object
Style

public class Style extends Object
Build text that is styled with colour and attributes like bold, italic, etc. Why settle for boring white on black, or black on white text? Use colour to express yourself! Example:
         new Style.Builder()
                .text("Bold Text\n")
                .bold()
                .text("Italics")
                .code(Style.Code.BACK_YELLOW)
                .italic()
                .text("Hello")
                .add256Colour(50, true)
                .code(Style.Code.TEXT_BLUE)
                .text(" World")
                .print(); // or .toString() if preferred.
 
Author:
Vincent Neo
  • Constructor Details

    • Style

      public Style()