Package guideme.layout.flow
Class FlowBuilder
java.lang.Object
guideme.layout.flow.FlowBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappend(LytFlowContent content) voidclear()computeLayout(LayoutContext context, int x, int y, int availableWidth, TextAlignment alignment) enumerateContentBounds(LytFlowContent content) booleanfloatsIntersect(LytRect bounds) booleanisEmpty()voidmove(int deltaX, int deltaY) @Nullable LineElementpick(int x, int y) @Nullable LineBlockpickFloatingElement(int x, int y) voidrender(RenderContext context, @Nullable LytFlowContent hoveredContent) voidrenderFloats(RenderContext context, @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) -
render
-
renderFloats
-
pick
-
enumerateContentBounds
-
pickFloatingElement
-
floatsIntersect
-
getContent
-
isEmpty
public boolean isEmpty() -
clear
public void clear() -
move
public void move(int deltaX, int deltaY)
-