Skip to content

A simple Java nine-patch renderer for any graphics API.

License

Notifications You must be signed in to change notification settings

Juuxel/LibNinePatch

Repository files navigation

LibNinePatch

A simple 9-patch rectangle renderer for Java that works on any graphics API.

AWT support is bundled out of the box as AwtTextureRenderer. Other renderers are easy to implement: they only need one method to render a platform-specific texture type, such as BufferedImage in AWT's case.

Get it on Maven Central:

dependencies {
    implementation("io.github.juuxel:libninepatch:1.2.0")
}