public class ProcessUtility extends Object
Modifier and Type | Method and Description |
---|---|
static long |
computeBlockContextWidth(RenderNode box)
Returns the computed block-context width.
|
static long |
computeLength(long min,
long max,
long pref) |
static boolean |
hasBorderEdge(StyleSheet style) |
static boolean |
isContent(RenderBox element,
boolean ellipseAsBackground,
boolean shapesAsContent) |
static BorderEdge |
produceBorderEdge(StyleSheet style) |
static long |
resolveComputedWidth(RenderBox box) |
public static long computeBlockContextWidth(RenderNode box)
box
- the box for which the block-context width should be computed.public static boolean isContent(RenderBox element, boolean ellipseAsBackground, boolean shapesAsContent)
public static boolean hasBorderEdge(StyleSheet style)
public static BorderEdge produceBorderEdge(StyleSheet style)
public static long computeLength(long min, long max, long pref)
public static long resolveComputedWidth(RenderBox box)