org.pentaho.reporting.engine.classic.core.layout.process.valign
Class ReplacedContentAlignContext
java.lang.Object
org.pentaho.reporting.engine.classic.core.layout.process.valign.AlignContext
org.pentaho.reporting.engine.classic.core.layout.process.valign.ReplacedContentAlignContext
public final class ReplacedContentAlignContext
- extends AlignContext
A generic align context for images and other nodes. (Renderable-Content should have been aligned by the parent.
- Author:
- Thomas Morgner
ReplacedContentAlignContext
public ReplacedContentAlignContext(RenderableReplacedContentBox node,
long parentHeight)
getBaselineDistance
public long getBaselineDistance(int baseline)
- Specified by:
getBaselineDistance
in class AlignContext
shift
public void shift(long delta)
- Specified by:
shift
in class AlignContext
getAfterEdge
public long getAfterEdge()
- Specified by:
getAfterEdge
in class AlignContext
getBeforeEdge
public long getBeforeEdge()
- Specified by:
getBeforeEdge
in class AlignContext