Index
All Classes|All Packages
A
- AwtTextureRenderer - Class in juuxel.libninepatch
-
Renders a
BufferedImageusing AWT'sGraphics. - AwtTextureRenderer(Graphics) - Constructor for class juuxel.libninepatch.AwtTextureRenderer
-
Constructs an
AwtTextureRendererfrom aGraphicsobject.
B
- build() - Method in class juuxel.libninepatch.NinePatch.Builder
-
Creates a new
NinePatchfrom this builder. - builder(TextureRegion<T>) - Static method in class juuxel.libninepatch.NinePatch
-
Creates a
NinePatch.Builderusing a texture region. - builder(T) - Static method in class juuxel.libninepatch.NinePatch
-
Creates a
NinePatch.Builderusing a full texture.
C
- compose(TextureRenderer<? super T>...) - Static method in interface juuxel.libninepatch.TextureRenderer
-
Composes multiple texture renderers into one.
- ContextualTextureRenderer<T,C> - Interface in juuxel.libninepatch
-
Texture renderers are used for drawing platform-specific textures and texture regions.
- cornerSize(int) - Method in class juuxel.libninepatch.NinePatch.Builder
-
Sets the corner size of the rendered rectangle.
- cornerSize(int, int) - Method in class juuxel.libninepatch.NinePatch.Builder
-
Sets the corner size of the rendered rectangle.
- cornerUv(float) - Method in class juuxel.libninepatch.NinePatch.Builder
-
Sets the corner UV size in the texture.
- cornerUv(float, float) - Method in class juuxel.libninepatch.NinePatch.Builder
-
Sets the corner UV sizes in the texture.
D
- draw(BufferedImage, int, int, int, int, float, float, float, float) - Method in class juuxel.libninepatch.AwtTextureRenderer
- draw(ContextualTextureRenderer<? super T, C>, C, int, int) - Method in class juuxel.libninepatch.NinePatch
-
Draws a nine-patch region using a contextual texture renderer.
- draw(TextureRegion<? extends T>, int, int, int, int, float, float, float, float) - Method in interface juuxel.libninepatch.TextureRenderer
-
Draws rectangular subregion of a texture region.
- draw(TextureRegion<? extends T>, C, int, int, int, int, float, float, float, float) - Method in interface juuxel.libninepatch.ContextualTextureRenderer
-
Draws rectangular subregion of a texture region.
- draw(TextureRenderer<? super T>, int, int) - Method in class juuxel.libninepatch.NinePatch
-
Draws a nine-patch region using a non-contextual texture renderer.
- draw(T, int, int, int, int, float, float, float, float) - Method in interface juuxel.libninepatch.TextureRenderer
-
Draws rectangular region of a texture.
- draw(T, Void, int, int, int, int, float, float, float, float) - Method in interface juuxel.libninepatch.TextureRenderer
- draw(T, C, int, int, int, int, float, float, float, float) - Method in interface juuxel.libninepatch.ContextualTextureRenderer
-
Draws rectangular region of a texture.
- drawTiled(TextureRegion<? extends T>, C, int, int, int, int, int, int, float, float, float, float) - Method in interface juuxel.libninepatch.ContextualTextureRenderer
-
Draws a tiled rectangular subregion of a texture.
- drawTiled(T, C, int, int, int, int, int, int, float, float, float, float) - Method in interface juuxel.libninepatch.ContextualTextureRenderer
-
Draws a tiled rectangular subregion of a texture.
E
- equals(Object) - Method in class juuxel.libninepatch.TextureRegion
H
- hashCode() - Method in class juuxel.libninepatch.TextureRegion
I
- io.github.juuxel.libninepatch - module io.github.juuxel.libninepatch
-
A simple 9-patch rectangle renderer for Java that works on any graphics API.
J
- juuxel.libninepatch - package juuxel.libninepatch
-
Main LibNinePatch classes.
M
- mode(NinePatch.Mode) - Method in class juuxel.libninepatch.NinePatch.Builder
-
Sets the rendering mode of this builder.
N
- NinePatch<T> - Class in juuxel.libninepatch
-
A nine-patch renderer.
- NinePatch.Builder<T> - Class in juuxel.libninepatch
-
A builder for
NinePatch. - NinePatch.Mode - Enum Class in juuxel.libninepatch
-
The rendering mode of a nine-patch renderer.
S
- STDOUT_DEBUG - Static variable in interface juuxel.libninepatch.TextureRenderer
-
A debugging texture renderer that prints out the data to
System.out. - STRETCHING - Enum constant in enum class juuxel.libninepatch.NinePatch.Mode
-
Regions of the texture are stretched to fill areas.
T
- texture - Variable in class juuxel.libninepatch.TextureRegion
-
The texture from which this region is cut.
- TextureRegion<T> - Class in juuxel.libninepatch
-
Texture regions represent a partial region of a larger texture image.
- TextureRegion(T, float, float, float, float) - Constructor for class juuxel.libninepatch.TextureRegion
-
Constructs a texture region.
- TextureRenderer<T> - Interface in juuxel.libninepatch
-
Texture renderers are used for drawing platform-specific textures and texture regions.
- tileSize(int) - Method in class juuxel.libninepatch.NinePatch.Builder
-
Sets the tile size of the rendered texture when the mode is
NinePatch.Mode.TILING. - tileSize(int, int) - Method in class juuxel.libninepatch.NinePatch.Builder
-
Sets the tile size of the rendered texture when the mode is
NinePatch.Mode.TILING. - TILING - Enum constant in enum class juuxel.libninepatch.NinePatch.Mode
-
Regions of the texture are tiled to fill areas.
- toString() - Method in class juuxel.libninepatch.TextureRegion
U
- u1 - Variable in class juuxel.libninepatch.TextureRegion
-
The left edge of this region as a fraction from 0 to 1.
- u2 - Variable in class juuxel.libninepatch.TextureRegion
-
The right edge of this region as a fraction from 0 to 1.
V
- v1 - Variable in class juuxel.libninepatch.TextureRegion
-
The top edge of this region as a fraction from 0 to 1.
- v2 - Variable in class juuxel.libninepatch.TextureRegion
-
The bottom edge of this region as a fraction from 0 to 1.
- valueOf(String) - Static method in enum class juuxel.libninepatch.NinePatch.Mode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class juuxel.libninepatch.NinePatch.Mode
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes|All Packages