Class DefaultExtendedBaselineInfo
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.layout.text.DefaultExtendedBaselineInfo
-
- All Implemented Interfaces:
ExtendedBaselineInfo
public final class DefaultExtendedBaselineInfo extends Object implements ExtendedBaselineInfo
Creation-Date: 24.07.2006, 17:35:25- Author:
- Thomas Morgner
-
-
Field Summary
-
Fields inherited from interface org.pentaho.reporting.engine.classic.core.layout.text.ExtendedBaselineInfo
AFTER_EDGE, ALPHABETHIC, BASELINE_COUNT, BEFORE_EDGE, CENTRAL, HANGING, IDEOGRAPHIC, MATHEMATICAL, MIDDLE, TEXT_AFTER_EDGE, TEXT_BEFORE_EDGE
-
-
Constructor Summary
Constructors Constructor Description DefaultExtendedBaselineInfo(int dominantBaseline, org.pentaho.reporting.libraries.fonts.registry.BaselineInfo baselines, long beforeEdge, long textBeforeEdge, long textAfterEdge, long afterEdge, long underlinePosition, long strikethroughPosition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getBaseline(int baseline)
long[]
getBaselines()
int
getDominantBaseline()
long
getStrikethroughPosition()
long
getUnderlinePosition()
String
toString()
-
-
-
Constructor Detail
-
DefaultExtendedBaselineInfo
public DefaultExtendedBaselineInfo(int dominantBaseline, org.pentaho.reporting.libraries.fonts.registry.BaselineInfo baselines, long beforeEdge, long textBeforeEdge, long textAfterEdge, long afterEdge, long underlinePosition, long strikethroughPosition)
-
-
Method Detail
-
getUnderlinePosition
public long getUnderlinePosition()
- Specified by:
getUnderlinePosition
in interfaceExtendedBaselineInfo
-
getStrikethroughPosition
public long getStrikethroughPosition()
- Specified by:
getStrikethroughPosition
in interfaceExtendedBaselineInfo
-
getDominantBaseline
public int getDominantBaseline()
- Specified by:
getDominantBaseline
in interfaceExtendedBaselineInfo
-
getBaselines
public long[] getBaselines()
- Specified by:
getBaselines
in interfaceExtendedBaselineInfo
-
getBaseline
public long getBaseline(int baseline)
- Specified by:
getBaseline
in interfaceExtendedBaselineInfo
-
-