Package dev.engine_room.vanillin.text
Interface TextLayer
- All Known Implementing Classes:
SimpleTextLayer
public interface TextLayer
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interfacestatic interface -
Method Summary
Modifier and TypeMethodDescriptionintbias()The instancer bias for this layer.color()A mapping from text styles to ARGB colors.material()A mapping from texture ResourceLocations to Flywheel materials.org.joml.Vector2fcoffset()The offset of text in this layer.pattern()The pattern of individual glyphs.
-
Method Details
-
pattern
TextLayer.GlyphPattern pattern()The pattern of individual glyphs.- Returns:
- A GlyphPattern.
-
material
TextLayer.GlyphMaterial material()A mapping from texture ResourceLocations to Flywheel materials.- Returns:
- A GlyphMaterial.
-
color
TextLayer.GlyphColor color()A mapping from text styles to ARGB colors.- Returns:
- A GlyphColor.
-
offset
org.joml.Vector2fc offset()The offset of text in this layer.- Returns:
- The offset.
-
bias
int bias()The instancer bias for this layer.- Returns:
- The bias.
-