public final class LineSpacingRule
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
AT_LEAST
The line spacing can be greater than or equal to, but never less than, the value specified in the
ParagraphFormat.getLineSpacing() / ParagraphFormat.setLineSpacing(double) property. |
static int |
EXACTLY
The line spacing never changes from the value specified in the
ParagraphFormat.getLineSpacing() / ParagraphFormat.setLineSpacing(double) property, even if a larger font is used within the paragraph. |
static int |
length |
static int |
MULTIPLE
The line spacing is specified in the
ParagraphFormat.getLineSpacing() / ParagraphFormat.setLineSpacing(double) property as the number of lines. |
| Modifier and Type | Method and Description |
|---|---|
static int |
fromName(java.lang.String lineSpacingRuleName) |
static java.lang.String |
getName(int lineSpacingRule) |
static int[] |
getValues() |
static java.lang.String |
toString(int lineSpacingRule) |
public static final int AT_LEAST
ParagraphFormat.getLineSpacing() / ParagraphFormat.setLineSpacing(double) property.public static final int EXACTLY
ParagraphFormat.getLineSpacing() / ParagraphFormat.setLineSpacing(double) property, even if a larger font is used within the paragraph.public static final int MULTIPLE
ParagraphFormat.getLineSpacing() / ParagraphFormat.setLineSpacing(double) property as the number of lines. One line equals 12 points.public static final int length