From 9a1ad5eba9365064fac168afa3e942b65fb2a2c3 Mon Sep 17 00:00:00 2001 From: Zelaux Date: Sun, 1 Oct 2023 13:35:14 +0300 Subject: [PATCH] Added README for graphics --- README.md | 12 ++-- graphics/README.md | 62 +++++++++++++++++++ .../src/arclibrary/graphics/DrawText.java | 4 +- 3 files changed, 71 insertions(+), 7 deletions(-) create mode 100644 graphics/README.md diff --git a/README.md b/README.md index 5901281..826397b 100644 --- a/README.md +++ b/README.md @@ -20,12 +20,12 @@ dependencies{ # Exported modules: - betterCommandHandler `betterCommandHandler` -- graphics - - dashDraw `graphics-dashDraw` - - draw3d `graphics-draw3d` - - drawText `graphics-drawText` - - extendedDraw `graphics-extendedDraw` - - g3d `graphics-d3g` +- [graphics](graphics%2FREADME.md) + - [dashDraw](graphics%2FREADME.md#dashDraw) `graphics-dashDraw` + - [draw3d](graphics%2FREADME.md#draw3d) `graphics-draw3d` + - [drawText](graphics%2FREADME.md#drawText) `graphics-drawText` + - [extendedDraw](graphics%2FREADME.md#extendedDraw) `graphics-extendedDraw` + - [g3d](graphics%2Fg3d%2FREADME.md) `graphics-d3g` - [settings](settings%2FREADME.md) `settings` - [ui](ui%2FREADME.md) - [components](ui%2FREADME.md#components) `ui-components` diff --git a/graphics/README.md b/graphics/README.md new file mode 100644 index 0000000..3696928 --- /dev/null +++ b/graphics/README.md @@ -0,0 +1,62 @@ +# Graphics +- [dashDraw](#dashDraw) +- [draw3d](#draw3d) +- [drawText](#drawText) +- [extendedDraw](#extendedDraw) +- [g3d](#g3d) + +## DashDraw + +###### Full name: `graphics-dashDraw` + +### Adds +- [DashLine](dashDraw%2Fsrc%2Farclibrary%2Fgraphics%2FDashLine.java) + +---- + +## Draw3d + +###### Full name: `graphics-draw3d` + + +### Adds +- [Draw3d](draw3d%2Fsrc%2Farclibrary%2Fgraphics%2FDraw3d.java) + +### Dependencies +```groovy +"com.github.Anuken.Arc:g3d:$arcVersion" +``` + +---- + +## DrawText + +###### Full name: `graphics-drawText` + +### Adds +- [DrawText](drawText%2Fsrc%2Farclibrary%2Fgraphics%2FDrawText.java) + +---- + +## ExtendedDraw + +###### Full name: `graphics-extendedDraw` + +### Adds +- [EDraw](extendedDraw%2Fsrc%2Farclibrary%2Fgraphics%2FEDraw.java) +- [EFill](extendedDraw%2Fsrc%2Farclibrary%2Fgraphics%2FEFill.java) +- [ELines](extendedDraw%2Fsrc%2Farclibrary%2Fgraphics%2FELines.java) + +---- + +## g3d + +###### Full name: `graphics-g3d` + +[More information](g3d%2FREADME.md) +### Dependencies +```groovy +"com.github.Anuken.Arc:g3d:$arcVersion" +``` + +---- \ No newline at end of file diff --git a/graphics/drawText/src/arclibrary/graphics/DrawText.java b/graphics/drawText/src/arclibrary/graphics/DrawText.java index baeeed9..5e14fa2 100644 --- a/graphics/drawText/src/arclibrary/graphics/DrawText.java +++ b/graphics/drawText/src/arclibrary/graphics/DrawText.java @@ -12,7 +12,9 @@ import org.jetbrains.annotations.*; import java.util.*; - +/** + * Draws text on screen without label or other stuff + * */ public class DrawText{ @Nullable public static Font defaultFont;