Package org.apache.batik.gvt.flow
Class BlockInfo
- java.lang.Object
-
- org.apache.batik.gvt.flow.BlockInfo
-
public class BlockInfo extends java.lang.Object- Version:
- $Id: BlockInfo.java 1804130 2017-08-04 14:41:11Z ssteiner $
-
-
Field Summary
Fields Modifier and Type Field Description static intALIGN_ENDstatic intALIGN_FULLstatic intALIGN_MIDDLEstatic intALIGN_STARTprotected intalignmentprotected floatascentprotected floatbottomprotected floatdescentprotected booleanflowRegionBreakprotected java.util.MapfontAttrsprotected java.util.ListfontListprotected floatindentprotected floatleftprotected floatlineHeightprotected floatrightprotected floattop
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatgetAscent()floatgetBottomMargin()floatgetDescent()java.util.MapgetFontAttrs()java.util.ListgetFontList()floatgetIndent()floatgetLeftMargin()floatgetLineHeight()floatgetRightMargin()intgetTextAlignment()floatgetTopMargin()voidinitLineInfo(java.awt.font.FontRenderContext frc)booleanisFlowRegionBreak()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
-
fontList
protected java.util.List fontList
-
fontAttrs
protected java.util.Map fontAttrs
-
ascent
protected float ascent
-
descent
protected float descent
-
flowRegionBreak
protected boolean flowRegionBreak
-
-
Method Detail
-
setMargin
public void setMargin(float margin)
-
initLineInfo
public void initLineInfo(java.awt.font.FontRenderContext frc)
-
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()
-
getFontList
public java.util.List getFontList()
-
getFontAttrs
public java.util.Map getFontAttrs()
-
getAscent
public float getAscent()
-
getDescent
public float getDescent()
-
isFlowRegionBreak
public boolean isFlowRegionBreak()
-
-