Package guideme.layout.flow
Class FlowBuilder
java.lang.Object
guideme.layout.flow.FlowBuilder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
append
(LytFlowContent content) void
clear()
computeLayout
(LayoutContext context, int x, int y, int availableWidth, TextAlignment alignment) enumerateContentBounds
(LytFlowContent content) boolean
floatsIntersect
(LytRect bounds) void
move
(int deltaX, int deltaY) @Nullable LineElement
pick
(int x, int y) @Nullable LineBlock
pickFloatingElement
(int x, int y) void
render
(RenderContext context, @Nullable LytFlowContent hoveredContent) void
renderBatch
(RenderContext context, net.minecraft.client.renderer.MultiBufferSource buffers, @Nullable LytFlowContent hoveredContent) void
renderFloats
(RenderContext context, @Nullable LytFlowContent hoveredContent) void
renderFloatsBatch
(RenderContext context, net.minecraft.client.renderer.MultiBufferSource buffers, @Nullable LytFlowContent hoveredContent)
-
Constructor Details
-
FlowBuilder
public FlowBuilder()
-
-
Method Details
-
append
-
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
-
renderFloats
-
pick
-
enumerateContentBounds
-
pickFloatingElement
-
floatsIntersect
-
getContent
-
clear
public void clear() -
move
public void move(int deltaX, int deltaY)
-