Class AnsiFormat
java.lang.Object
com.diogonunes.jcolor.AnsiFormat
-
Constructor Summary
ConstructorsConstructorDescriptionAnsiFormat(Attribute... attributes) Creates a new format that bundles the given attributes. -
Method Summary
-
Constructor Details
-
AnsiFormat
Creates a new format that bundles the given attributes.- Parameters:
attributes- All ANSI attributes to format a text.
-
-
Method Details
-
format
-
toArray
Returns the attributes of this format as an array.- Returns:
- the attributes of this format as an array
-