org.apache.batik.extension.svg

Class MarginInfo

public class MarginInfo extends Object

Field Summary
protected floatbottom
protected booleanflowRegionBreak
protected floatindent
protected intjustification
static intJUSTIFY_END
static intJUSTIFY_FULL
static intJUSTIFY_MIDDLE
static intJUSTIFY_START
protected floatleft
protected floatright
protected floattop
Constructor Summary
MarginInfo(float top, float right, float bottom, float left, float indent, int justification, boolean flowRegionBreak)
MarginInfo(float margin, int justification)
Method Summary
floatgetBottomMargin()
floatgetIndent()
intgetJustification()
floatgetLeftMargin()
floatgetRightMargin()
floatgetTopMargin()
booleanisFlowRegionBreak()
voidsetMargin(float margin)

Field Detail

bottom

protected float bottom

flowRegionBreak

protected boolean flowRegionBreak

indent

protected float indent

justification

protected int justification

JUSTIFY_END

public static final int JUSTIFY_END

JUSTIFY_FULL

public static final int JUSTIFY_FULL

JUSTIFY_MIDDLE

public static final int JUSTIFY_MIDDLE

JUSTIFY_START

public static final int JUSTIFY_START

left

protected float left

right

protected float right

top

protected float top

Constructor Detail

MarginInfo

public MarginInfo(float top, float right, float bottom, float left, float indent, int justification, boolean flowRegionBreak)

MarginInfo

public MarginInfo(float margin, int justification)

Method Detail

getBottomMargin

public float getBottomMargin()

getIndent

public float getIndent()

getJustification

public int getJustification()

getLeftMargin

public float getLeftMargin()

getRightMargin

public float getRightMargin()

getTopMargin

public float getTopMargin()

isFlowRegionBreak

public boolean isFlowRegionBreak()

setMargin

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