Class MinMaxWidthLayoutResult

java.lang.Object
com.itextpdf.layout.layout.LayoutResult
com.itextpdf.layout.layout.MinMaxWidthLayoutResult
Direct Known Subclasses:
LineLayoutResult, TextLayoutResult

public class MinMaxWidthLayoutResult extends LayoutResult
Represents the result of content layouting.
  • Field Details

  • Constructor Details

    • MinMaxWidthLayoutResult

      public MinMaxWidthLayoutResult (int status, LayoutArea occupiedArea, IRenderer splitRenderer, IRenderer overflowRenderer)
      Creates min and max width.
      Parameters:
      status - the status which indicates the content
      occupiedArea - the area occupied by the content
      splitRenderer - the renderer to draw the splitted part of the content
      overflowRenderer - the renderer to draw the overflowed part of the content
    • MinMaxWidthLayoutResult

      public MinMaxWidthLayoutResult (int status, LayoutArea occupiedArea, IRenderer splitRenderer, IRenderer overflowRenderer, IRenderer cause)
      Creates min and max width.
      Parameters:
      status - the status which indicates the content
      occupiedArea - the area occupied by the content
      splitRenderer - the renderer to draw the splitted part of the content
      overflowRenderer - the renderer to draw the overflowed part of the content
      cause - the first renderer to produce LayoutResult.NOTHING
  • Method Details

    • getMinMaxWidth

      public MinMaxWidth getMinMaxWidth()
      Gets min and max width.
      Returns:
      min and max width
    • setMinMaxWidth

      public MinMaxWidthLayoutResult setMinMaxWidth (MinMaxWidth minMaxWidth)
      Sets min and max width.
      Parameters:
      minMaxWidth - min and max width
      Returns:
      min and max width