Package guideme.layout.flow
Class FlowBuilder
java.lang.Object
guideme.layout.flow.FlowBuilder
-
Constructor Summary
Constructors -
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) boolean
isEmpty()
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
renderFloats
(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)
-