public final class DefaultExtendedBaselineInfo extends Object implements ExtendedBaselineInfo
AFTER_EDGE, ALPHABETHIC, BASELINE_COUNT, BEFORE_EDGE, CENTRAL, HANGING, IDEOGRAPHIC, MATHEMATICAL, MIDDLE, TEXT_AFTER_EDGE, TEXT_BEFORE_EDGE
Constructor and Description |
---|
DefaultExtendedBaselineInfo(int dominantBaseline,
org.pentaho.reporting.libraries.fonts.registry.BaselineInfo baselines,
long beforeEdge,
long textBeforeEdge,
long textAfterEdge,
long afterEdge,
long underlinePosition,
long strikethroughPosition) |
Modifier and Type | Method and Description |
---|---|
long |
getBaseline(int baseline) |
long[] |
getBaselines() |
int |
getDominantBaseline() |
long |
getStrikethroughPosition() |
long |
getUnderlinePosition() |
String |
toString() |
public DefaultExtendedBaselineInfo(int dominantBaseline, org.pentaho.reporting.libraries.fonts.registry.BaselineInfo baselines, long beforeEdge, long textBeforeEdge, long textAfterEdge, long afterEdge, long underlinePosition, long strikethroughPosition)
public long getUnderlinePosition()
getUnderlinePosition
in interface ExtendedBaselineInfo
public long getStrikethroughPosition()
getStrikethroughPosition
in interface ExtendedBaselineInfo
public int getDominantBaseline()
getDominantBaseline
in interface ExtendedBaselineInfo
public long[] getBaselines()
getBaselines
in interface ExtendedBaselineInfo
public long getBaseline(int baseline)
getBaseline
in interface ExtendedBaselineInfo