Class FlowBuilder

java.lang.Object
guideme.layout.flow.FlowBuilder

public class FlowBuilder extends Object
  • Constructor Details

    • FlowBuilder

      public FlowBuilder()
  • Method Details

    • append

      public void append(LytFlowContent content)
    • computeLayout

      public LytRect computeLayout(LayoutContext context, int x, int y, int availableWidth, TextAlignment alignment)
    • renderBatch

      public void renderBatch(RenderContext context, net.minecraft.client.renderer.MultiBufferSource buffers, @Nullable @Nullable LytFlowContent hoveredContent)
    • renderFloatsBatch

      public void renderFloatsBatch(RenderContext context, net.minecraft.client.renderer.MultiBufferSource buffers, @Nullable @Nullable LytFlowContent hoveredContent)
    • render

      public void render(RenderContext context, @Nullable @Nullable LytFlowContent hoveredContent)
    • renderFloats

      public void renderFloats(RenderContext context, @Nullable @Nullable LytFlowContent hoveredContent)
    • pick

      @Nullable public @Nullable LineElement pick(int x, int y)
    • enumerateContentBounds

      public Stream<LytRect> enumerateContentBounds(LytFlowContent content)
    • pickFloatingElement

      @Nullable public @Nullable LineBlock pickFloatingElement(int x, int y)
    • floatsIntersect

      public boolean floatsIntersect(LytRect bounds)
    • getContent

      public Iterable<LytFlowContent> getContent()
    • clear

      public void clear()
    • move

      public void move(int deltaX, int deltaY)