Package org.apache.batik.gvt.flow
Class MarginInfo
- java.lang.Object
-
- org.apache.batik.gvt.flow.MarginInfo
-
public class MarginInfo extends java.lang.Object- Version:
- $Id: MarginInfo.java 1733416 2016-03-03 07:07:13Z gadams $
-
-
Field Summary
Fields Modifier and Type Field Description static intALIGN_ENDstatic intALIGN_FULLstatic intALIGN_MIDDLEstatic intALIGN_STARTprotected intalignmentprotected floatbottomprotected booleanflowRegionBreakprotected booleanfontSizeRelativeprotected floatindentprotected floatleftprotected floatlineHeightprotected floatrightprotected floattop
-
Constructor Summary
Constructors Constructor Description 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatgetBottomMargin()floatgetIndent()floatgetLeftMargin()floatgetLineHeight()floatgetRightMargin()intgetTextAlignment()floatgetTopMargin()booleanisFlowRegionBreak()booleanisFontSizeRelative()voidsetMargin(float margin)
-
-
-
Field Detail
-
ALIGN_START
public static final int ALIGN_START
- See Also:
- Constant Field Values
-
ALIGN_MIDDLE
public static final int ALIGN_MIDDLE
- See Also:
- Constant Field Values
-
ALIGN_END
public static final int ALIGN_END
- See Also:
- Constant Field Values
-
ALIGN_FULL
public static final int ALIGN_FULL
- See Also:
- Constant Field Values
-
top
protected float top
-
right
protected float right
-
bottom
protected float bottom
-
left
protected float left
-
indent
protected float indent
-
alignment
protected int alignment
-
lineHeight
protected float lineHeight
-
fontSizeRelative
protected boolean fontSizeRelative
-
flowRegionBreak
protected boolean flowRegionBreak
-
-
Method Detail
-
setMargin
public void setMargin(float margin)
-
getTopMargin
public float getTopMargin()
-
getRightMargin
public float getRightMargin()
-
getBottomMargin
public float getBottomMargin()
-
getLeftMargin
public float getLeftMargin()
-
getIndent
public float getIndent()
-
getTextAlignment
public int getTextAlignment()
-
getLineHeight
public float getLineHeight()
-
isFontSizeRelative
public boolean isFontSizeRelative()
-
isFlowRegionBreak
public boolean isFlowRegionBreak()
-
-