public class BlockInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ALIGN_END |
static int |
ALIGN_FULL |
static int |
ALIGN_MIDDLE |
static int |
ALIGN_START |
protected int |
alignment |
protected float |
ascent |
protected float |
bottom |
protected float |
descent |
protected boolean |
flowRegionBreak |
protected java.util.Map |
fontAttrs |
protected java.util.List |
fontList |
protected float |
indent |
protected float |
left |
protected float |
lineHeight |
protected float |
right |
protected float |
top |
Constructor and Description |
---|
BlockInfo(float top,
float right,
float bottom,
float left,
float indent,
int alignment,
float lineHeight,
java.util.List fontList,
java.util.Map fontAttrs,
boolean flowRegionBreak) |
BlockInfo(float margin,
int alignment) |
Modifier and Type | Method and Description |
---|---|
float |
getAscent() |
float |
getBottomMargin() |
float |
getDescent() |
java.util.Map |
getFontAttrs() |
java.util.List |
getFontList() |
float |
getIndent() |
float |
getLeftMargin() |
float |
getLineHeight() |
float |
getRightMargin() |
int |
getTextAlignment() |
float |
getTopMargin() |
void |
initLineInfo(java.awt.font.FontRenderContext frc) |
boolean |
isFlowRegionBreak() |
void |
setMargin(float margin) |
public static final int ALIGN_START
public static final int ALIGN_MIDDLE
public static final int ALIGN_END
public static final int ALIGN_FULL
protected float top
protected float right
protected float bottom
protected float left
protected float indent
protected int alignment
protected float lineHeight
protected java.util.List fontList
protected java.util.Map fontAttrs
protected float ascent
protected float descent
protected boolean flowRegionBreak
public BlockInfo(float top, float right, float bottom, float left, float indent, int alignment, float lineHeight, java.util.List fontList, java.util.Map fontAttrs, boolean flowRegionBreak)
public BlockInfo(float margin, int alignment)
public void setMargin(float margin)
public void initLineInfo(java.awt.font.FontRenderContext frc)
public float getTopMargin()
public float getRightMargin()
public float getBottomMargin()
public float getLeftMargin()
public float getIndent()
public int getTextAlignment()
public float getLineHeight()
public java.util.List getFontList()
public java.util.Map getFontAttrs()
public float getAscent()
public float getDescent()
public boolean isFlowRegionBreak()
Copyright © 2022 Apache Software Foundation. All Rights Reserved.