public final class FontMath
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static int |
log2(int a) |
static int |
paddingRequired(int size,
int alignmentSize)
Calculates the amount of padding needed.
|
public static int log2(int a)
public static int paddingRequired(int size,
int alignmentSize)
size - the size of the data that may need paddingalignmentSize - the number of units to align to