public class InlineBoxing extends Object
| Modifier and Type | Method and Description |
|---|---|
static List |
calculateTextDecorations(Box box,
int baseline,
FSFontMetrics fm) |
static StrutMetrics |
createDefaultStrutMetrics(LayoutContext c,
Box container) |
static void |
layoutContent(LayoutContext c,
BlockBox box,
int initialY,
int breakAtLine) |
static int |
positionHorizontally(CssContext c,
Box current,
int start) |
static int |
positionHorizontallyRTL(CssContext c,
Box current,
int start,
int width)
Attempts to layout inline boxes from right to left.
|
public static void layoutContent(LayoutContext c, BlockBox box, int initialY, int breakAtLine)
public static int positionHorizontallyRTL(CssContext c, Box current, int start, int width)
start - should be the right edge of the linecurrent - should be the line box.public static int positionHorizontally(CssContext c, Box current, int start)
public static StrutMetrics createDefaultStrutMetrics(LayoutContext c, Box container)
public static List calculateTextDecorations(Box box, int baseline, FSFontMetrics fm)
Copyright © 2018. All rights reserved.