Class MinMaxWidthLayoutResult
java.lang.Object
com.itextpdf.layout.layout.LayoutResult
com.itextpdf.layout.layout.MinMaxWidthLayoutResult
- Direct Known Subclasses:
LineLayoutResult, TextLayoutResult
Represents the result of content
layouting.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected MinMaxWidthTheMinMaxWidthvalue of min and max width.Fields inherited from class LayoutResult
areaBreak, causeOfNothing, FULL, NOTHING, occupiedArea, overflowRenderer, PARTIAL, splitRenderer, status -
Constructor Summary
ConstructorsConstructorDescriptionMinMaxWidthLayoutResult(int status, LayoutArea occupiedArea, IRenderer splitRenderer, IRenderer overflowRenderer) Creates min and max width.MinMaxWidthLayoutResult(int status, LayoutArea occupiedArea, IRenderer splitRenderer, IRenderer overflowRenderer, IRenderer cause) Creates min and max width. -
Method Summary
Modifier and TypeMethodDescriptionGets min and max width.setMinMaxWidth(MinMaxWidth minMaxWidth) Sets min and max width.Methods inherited from class LayoutResult
getAreaBreak, getCauseOfNothing, getOccupiedArea, getOverflowRenderer, getSplitRenderer, getStatus, setAreaBreak, setOverflowRenderer, setSplitRenderer, setStatus, toString
-
Field Details
-
minMaxWidth
TheMinMaxWidthvalue of min and max width.
-
-
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 contentoccupiedArea- the area occupied by the contentsplitRenderer- the renderer to draw the splitted part of the contentoverflowRenderer- 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 contentoccupiedArea- the area occupied by the contentsplitRenderer- the renderer to draw the splitted part of the contentoverflowRenderer- the renderer to draw the overflowed part of the contentcause- the first renderer to produceLayoutResult.NOTHING
-
-
Method Details
-
getMinMaxWidth
-
setMinMaxWidth
Sets min and max width.- Parameters:
minMaxWidth- min and max width- Returns:
- min and max width
-