org.apache.batik.gvt.flow

Class MarginInfo

public class MarginInfo extends Object

Field Summary
static intALIGN_END
static intALIGN_FULL
static intALIGN_MIDDLE
static intALIGN_START
protected intalignment
protected floatbottom
protected booleanflowRegionBreak
protected booleanfontSizeRelative
protected floatindent
protected floatleft
protected floatlineHeight
protected floatright
protected floattop
Constructor Summary
MarginInfo(float top, float right, float bottom, float left, float indent, int alignment, float lineHeight, boolean fontSizeRelative, boolean flowRegionBreak)
MarginInfo(float margin, int alignment)
Method Summary
floatgetBottomMargin()
floatgetIndent()
floatgetLeftMargin()
floatgetLineHeight()
floatgetRightMargin()
intgetTextAlignment()
floatgetTopMargin()
booleanisFlowRegionBreak()
booleanisFontSizeRelative()
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

bottom

protected float bottom

flowRegionBreak

protected boolean flowRegionBreak

fontSizeRelative

protected boolean fontSizeRelative

indent

protected float indent

left

protected float left

lineHeight

protected float lineHeight

right

protected float right

top

protected float top

Constructor Detail

MarginInfo

public MarginInfo(float top, float right, float bottom, float left, float indent, int alignment, float lineHeight, boolean fontSizeRelative, boolean flowRegionBreak)

MarginInfo

public MarginInfo(float margin, int alignment)

Method Detail

getBottomMargin

public float getBottomMargin()

getIndent

public float getIndent()

getLeftMargin

public float getLeftMargin()

getLineHeight

public float getLineHeight()

getRightMargin

public float getRightMargin()

getTextAlignment

public int getTextAlignment()

getTopMargin

public float getTopMargin()

isFlowRegionBreak

public boolean isFlowRegionBreak()

isFontSizeRelative

public boolean isFontSizeRelative()

setMargin

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