Package com.openhtmltopdf.render
Class FloatDistances
java.lang.Object
com.openhtmltopdf.render.FloatDistances
public class FloatDistances extends Object
A bean containing the distances that floated content takes up as measured
from the left and right content edge of the containing block. Line boxes
use this information to figure out where they need to position themselves
within their containing block box.
-
Constructor Summary
Constructors Constructor Description FloatDistances() -
Method Summary
Modifier and Type Method Description intgetLeftFloatDistance()intgetRightFloatDistance()voidsetLeftFloatDistance(int leftFloatDistance)voidsetRightFloatDistance(int rightFloatDistance)
-
Constructor Details
-
FloatDistances
public FloatDistances()
-
-
Method Details
-
getLeftFloatDistance
public int getLeftFloatDistance() -
setLeftFloatDistance
public void setLeftFloatDistance(int leftFloatDistance) -
getRightFloatDistance
public int getRightFloatDistance() -
setRightFloatDistance
public void setRightFloatDistance(int rightFloatDistance)
-