aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/utils')
-rw-r--r--src/main/java/cc/polyfrost/oneconfig/utils/TextUtils.java14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/utils/TextUtils.java b/src/main/java/cc/polyfrost/oneconfig/utils/TextUtils.java
index 51b42d8..265e2f4 100644
--- a/src/main/java/cc/polyfrost/oneconfig/utils/TextUtils.java
+++ b/src/main/java/cc/polyfrost/oneconfig/utils/TextUtils.java
@@ -21,20 +21,6 @@ public final class TextUtils {
* @param font The font to use.
* @return The array of lines.
*/
- public static ArrayList<String> wrapText(long vg, String text, float maxWidth, float fontSize, Fonts font) {
- return wrapText(vg, text, maxWidth, fontSize, font.font);
- }
-
- /**
- * Wraps a string into an array of lines.
- *
- * @param vg The NanoVG context.
- * @param text The text to wrap.
- * @param maxWidth The maximum width of each line.
- * @param fontSize The font size.
- * @param font The font to use.
- * @return The array of lines.
- */
public static ArrayList<String> wrapText(long vg, String text, float maxWidth, float fontSize, Font font) {
ArrayList<String> wrappedText = new ArrayList<>();
text += " ";