Interface TextLayer.GlyphPattern

Enclosing interface:
TextLayer
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface TextLayer.GlyphPattern
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    The pattern for an 8x outline as used by glowing text on signs.
    The pattern for a single glyph with no offset.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addGlyphs(Consumer<org.joml.Vector2fc> out)
    Add an arbitrary amount of glyphs.
  • Field Details

  • Method Details

    • addGlyphs

      void addGlyphs(Consumer<org.joml.Vector2fc> out)
      Add an arbitrary amount of glyphs. Each accepted vector represents the offset of a new glyph quad.
      Parameters:
      out - The consumer to accept the offset of a new glyph quad