Class MarginInfo
java.lang.Object
org.apache.batik.gvt.flow.MarginInfo
- Version:
- $Id$
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intprotected intprotected floatprotected booleanprotected booleanprotected floatprotected floatprotected floatprotected floatprotected float -
Constructor Summary
ConstructorsConstructorDescriptionMarginInfo(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
Modifier and TypeMethodDescriptionfloatfloatfloatfloatfloatintfloatbooleanbooleanvoidsetMargin(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 -
fontSizeRelative
protected boolean fontSizeRelative -
flowRegionBreak
protected boolean flowRegionBreak
-
-
Constructor Details
-
MarginInfo
public MarginInfo(float top, float right, float bottom, float left, float indent, int alignment, float lineHeight, boolean fontSizeRelative, boolean flowRegionBreak) -
MarginInfo
public MarginInfo(float margin, int alignment)
-
-
Method Details
-
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()
-