org.apache.batik.gvt.flow

Class BlockInfo

public class BlockInfo extends Object

Field Summary
static intALIGN_END
static intALIGN_FULL
static intALIGN_MIDDLE
static intALIGN_START
protected intalignment
protected floatascent
protected floatbottom
protected floatdescent
protected booleanflowRegionBreak
protected MapfontAttrs
protected ListfontList
protected floatindent
protected floatleft
protected floatlineHeight
protected floatright
protected floattop
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)
Method Summary
floatgetAscent()
floatgetBottomMargin()
floatgetDescent()
MapgetFontAttrs()
ListgetFontList()
floatgetIndent()
floatgetLeftMargin()
floatgetLineHeight()
floatgetRightMargin()
intgetTextAlignment()
floatgetTopMargin()
voidinitLineInfo(FontRenderContext frc)
booleanisFlowRegionBreak()
voidsetMargin(float margin)

Field Detail

ALIGN_END

public static final int ALIGN_END

ALIGN_FULL

public static final int ALIGN_FULL

ALIGN_MIDDLE

public static final int ALIGN_MIDDLE

ALIGN_START

public static final int ALIGN_START

alignment

protected int alignment

ascent

protected float ascent

bottom

protected float bottom

descent

protected float descent

flowRegionBreak

protected boolean flowRegionBreak

fontAttrs

protected Map fontAttrs

fontList

protected List fontList

indent

protected float indent

left

protected float left

lineHeight

protected float lineHeight

right

protected float right

top

protected float top

Constructor Detail

BlockInfo

public BlockInfo(float top, float right, float bottom, float left, float indent, int alignment, float lineHeight, List fontList, Map fontAttrs, boolean flowRegionBreak)

BlockInfo

public BlockInfo(float margin, int alignment)

Method Detail

getAscent

public float getAscent()

getBottomMargin

public float getBottomMargin()

getDescent

public float getDescent()

getFontAttrs

public Map getFontAttrs()

getFontList

public List getFontList()

getIndent

public float getIndent()

getLeftMargin

public float getLeftMargin()

getLineHeight

public float getLineHeight()

getRightMargin

public float getRightMargin()

getTextAlignment

public int getTextAlignment()

getTopMargin

public float getTopMargin()

initLineInfo

public void initLineInfo(FontRenderContext frc)

isFlowRegionBreak

public boolean isFlowRegionBreak()

setMargin

public void setMargin(float margin)
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.