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.
  • Field Details

    • _leftFloatDistance

      private int _leftFloatDistance
    • _rightFloatDistance

      private 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)