Class MarginsCollapse
- java.lang.Object
-
- com.itextpdf.layout.margincollapse.MarginsCollapse
-
- All Implemented Interfaces:
java.lang.Cloneable
class MarginsCollapse extends java.lang.Object implements java.lang.Cloneable
-
-
Field Summary
Fields Modifier and Type Field Description private floatmaxPositiveMarginprivate floatminNegativeMargin
-
Constructor Summary
Constructors Constructor Description MarginsCollapse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MarginsCollapseclone()Creates a "deep copy" of this MarginsCollapse, meaning the object returned by this method will be independent of the object being cloned.(package private) floatgetCollapsedMarginsSize()(package private) voidjoinMargin(float margin)(package private) voidjoinMargin(MarginsCollapse marginsCollapse)
-
-
-
Method Detail
-
joinMargin
void joinMargin(float margin)
-
joinMargin
void joinMargin(MarginsCollapse marginsCollapse)
-
getCollapsedMarginsSize
float getCollapsedMarginsSize()
-
clone
public MarginsCollapse clone()
Creates a "deep copy" of this MarginsCollapse, meaning the object returned by this method will be independent of the object being cloned.- Overrides:
clonein classjava.lang.Object- Returns:
- the copied MarginsCollapse.
-
-