public class MarginInfo
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 |
bottom |
protected boolean |
flowRegionBreak |
protected boolean |
fontSizeRelative |
protected float |
indent |
protected float |
left |
protected float |
lineHeight |
protected float |
right |
protected float |
top |
Constructor and Description |
---|
MarginInfo(float top,
float right,
float bottom,
float left,
float indent,
int alignment,
float lineHeight,
boolean fontSizeRelative,
boolean flowRegionBreak) |
MarginInfo(float margin,
int alignment) |
Modifier and Type | Method and Description |
---|---|
float |
getBottomMargin() |
float |
getIndent() |
float |
getLeftMargin() |
float |
getLineHeight() |
float |
getRightMargin() |
int |
getTextAlignment() |
float |
getTopMargin() |
boolean |
isFlowRegionBreak() |
boolean |
isFontSizeRelative() |
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 boolean fontSizeRelative
protected boolean flowRegionBreak
public MarginInfo(float top, float right, float bottom, float left, float indent, int alignment, float lineHeight, boolean fontSizeRelative, boolean flowRegionBreak)
public MarginInfo(float margin, int alignment)
public void setMargin(float margin)
public float getTopMargin()
public float getRightMargin()
public float getBottomMargin()
public float getLeftMargin()
public float getIndent()
public int getTextAlignment()
public float getLineHeight()
public boolean isFontSizeRelative()
public boolean isFlowRegionBreak()
Copyright © 2022 Apache Software Foundation. All Rights Reserved.