Package org.apache.batik.extension.svg
Class MarginInfo
- java.lang.Object
-
- org.apache.batik.extension.svg.MarginInfo
-
public class MarginInfo extends java.lang.Object
- Version:
- $Id: MarginInfo.java 1733416 2016-03-03 07:07:13Z gadams $
-
-
Field Summary
Fields Modifier and Type Field Description protected float
bottom
protected boolean
flowRegionBreak
protected float
indent
protected int
justification
static int
JUSTIFY_END
static int
JUSTIFY_FULL
static int
JUSTIFY_MIDDLE
static int
JUSTIFY_START
protected float
left
protected float
right
protected float
top
-
Constructor Summary
Constructors Constructor Description MarginInfo(float top, float right, float bottom, float left, float indent, int justification, boolean flowRegionBreak)
MarginInfo(float margin, int justification)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getBottomMargin()
float
getIndent()
int
getJustification()
float
getLeftMargin()
float
getRightMargin()
float
getTopMargin()
boolean
isFlowRegionBreak()
void
setMargin(float margin)
-
-
-
Field Detail
-
JUSTIFY_START
public static final int JUSTIFY_START
- See Also:
- Constant Field Values
-
JUSTIFY_MIDDLE
public static final int JUSTIFY_MIDDLE
- See Also:
- Constant Field Values
-
JUSTIFY_END
public static final int JUSTIFY_END
- See Also:
- Constant Field Values
-
JUSTIFY_FULL
public static final int JUSTIFY_FULL
- See Also:
- Constant Field Values
-
top
protected float top
-
right
protected float right
-
bottom
protected float bottom
-
left
protected float left
-
indent
protected float indent
-
justification
protected int justification
-
flowRegionBreak
protected boolean flowRegionBreak
-
-
Method Detail
-
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()
-
getJustification
public int getJustification()
-
isFlowRegionBreak
public boolean isFlowRegionBreak()
-
-