org.apache.batik.gvt.flow
Class BlockInfo
public
class
BlockInfo
extends Object
Constructor Summary |
| BlockInfo(float top, float right, float bottom, float left, float indent, int alignment, float lineHeight, List fontList, Map fontAttrs, boolean flowRegionBreak) |
| BlockInfo(float margin, int alignment) |
public static final int ALIGN_END
public static final int ALIGN_FULL
public static final int ALIGN_MIDDLE
public static final int ALIGN_START
protected int alignment
protected float ascent
protected float bottom
protected float descent
protected boolean flowRegionBreak
protected Map fontAttrs
protected List fontList
protected float indent
protected float left
protected float lineHeight
protected float right
protected float top
public BlockInfo(float top, float right, float bottom, float left, float indent, int alignment, float lineHeight, List fontList, Map fontAttrs, boolean flowRegionBreak)
public BlockInfo(float margin, int alignment)
public float getAscent()
public float getBottomMargin()
public float getDescent()
public Map getFontAttrs()
public List getFontList()
public float getIndent()
public float getLeftMargin()
public float getLineHeight()
public float getRightMargin()
public int getTextAlignment()
public float getTopMargin()
public void initLineInfo(FontRenderContext frc)
public boolean isFlowRegionBreak()
public void setMargin(float margin)
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.