Package org.apache.batik.gvt.flow
Class BlockInfo
java.lang.Object
org.apache.batik.gvt.flow.BlockInfo
- Version:
- $Id: BlockInfo.java 1804130 2017-08-04 14:41:11Z ssteiner $
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat
float
float
float
float
float
float
int
float
void
boolean
void
setMargin
(float margin)
-
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 -
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
-
fontAttrs
-
ascent
protected float ascent -
descent
protected float descent -
flowRegionBreak
protected boolean flowRegionBreak
-
-
Constructor Details
-
BlockInfo
-
BlockInfo
public BlockInfo(float margin, int alignment)
-
-
Method Details
-
setMargin
public void setMargin(float margin) -
initLineInfo
-
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
-
getFontAttrs
-
getAscent
public float getAscent() -
getDescent
public float getDescent() -
isFlowRegionBreak
public boolean isFlowRegionBreak()
-