Package guideme.layout
Class LayoutContext
java.lang.Object
guideme.layout.LayoutContext
- All Implemented Interfaces:
FontMetrics
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLeftFloat(LytRect bounds) voidaddRightFloat(LytRect bounds) clearFloats(boolean left, boolean right) voidclearFloatsAbove(int y) floatgetAdvance(int codePoint, ResolvedTextStyle style) intgetLineHeight(ResolvedTextStyle style) getNextFloatBottomEdge(int y) If there's a float whose bottom edge is below the given y coordinate, return that bottom edge.
-
Constructor Details
-
LayoutContext
-
-
Method Details
-
addLeftFloat
-
addRightFloat
-
getLeftFloatRightEdge
-
getRightFloatLeftEdge
-
clearFloats
-
clearFloatsAbove
public void clearFloatsAbove(int y) -
getAdvance
- Specified by:
getAdvancein interfaceFontMetrics
-
getLineHeight
- Specified by:
getLineHeightin interfaceFontMetrics
-
getNextFloatBottomEdge
If there's a float whose bottom edge is below the given y coordinate, return that bottom edge.
-