public interface ScaledBaselineTable
Modifier and Type | Method and Description |
---|---|
ScaledBaselineTable |
deriveScaledBaselineTable(int baselineIdentifier)
Return a new baseline table for the given baseline based
on the current baseline table.
|
int |
getBaseline(int baselineIdentifier)
Return the offset measured from the dominant
baseline for the given baseline identifier.
|
int |
getDominantBaselineIdentifier()
Return the dominant baseline identifer for this alignment context.
|
int |
getWritingMode()
Return the writing mode for this aligment context.
|
void |
setBeforeAndAfterBaselines(int beforeBaseline,
int afterBaseline)
Sets the position of the before and after baselines.
|
int getDominantBaselineIdentifier()
int getWritingMode()
int getBaseline(int baselineIdentifier)
baselineIdentifier
- the baseline identifiervoid setBeforeAndAfterBaselines(int beforeBaseline, int afterBaseline)
beforeBaseline
- the offset of the before-edge baseline from the dominant baselineafterBaseline
- the offset of the after-edge baseline from the dominant baselineScaledBaselineTable deriveScaledBaselineTable(int baselineIdentifier)
baselineIdentifier
- the baseline identiferCopyright 1999-2010 The Apache Software Foundation. All Rights Reserved.