Class BlockInfo

java.lang.Object
org.apache.batik.gvt.flow.BlockInfo

public class BlockInfo extends Object
  • Field Details

    • ALIGN_START

      public static final int ALIGN_START
      See Also:
    • ALIGN_MIDDLE

      public static final int ALIGN_MIDDLE
      See Also:
    • ALIGN_END

      public static final int ALIGN_END
      See Also:
    • ALIGN_FULL

      public static final int ALIGN_FULL
      See Also:
    • top

      protected float top
    • bottom

      protected float bottom
    • left

      protected float left
    • indent

      protected float indent
    • alignment

      protected int alignment
    • lineHeight

      protected float lineHeight
    • fontList

      protected List fontList
    • fontAttrs

      protected Map fontAttrs
    • ascent

      protected float ascent
    • descent

      protected float descent
    • flowRegionBreak

      protected boolean flowRegionBreak
  • Constructor Details

    • 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 Details

    • setMargin

      public void setMargin(float margin)
    • initLineInfo

      public void initLineInfo(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 List getFontList()
    • getFontAttrs

      public Map getFontAttrs()
    • getAscent

      public float getAscent()
    • getDescent

      public float getDescent()
    • isFlowRegionBreak

      public boolean isFlowRegionBreak()