Package 

Class RenderShapesKt

    • Constructor Detail

    • Method Detail

      • renderHighlights

         final static Unit renderHighlights(List<Highlight> highlights, Float viewMult, Color color)

        Render circles in given color. You can call this in your render or onHover methods to e.g. visualize what a given button affects

        Parameters:
        highlights - list of highlights (filled circles) to render
        viewMult - get from viewport
        color - alpha value is unused (defined via Highlight instead)
      • renderTextbox

         final static Unit renderTextbox(LazyFont.DrawableString text, Float xPos, Float yPos, Float buffer, Color color, Color frameColor)

        Render a textbox for given string at given position this gets used by buttons internally, so unless you want to manually display text, you won't need to use this