Package | Description |
---|---|
com.itextpdf.layout | |
com.itextpdf.layout.element | |
com.itextpdf.layout.property | |
com.itextpdf.layout.renderer |
Modifier and Type | Method and Description |
---|---|
UnitValue |
Style.getHeight()
Gets the height property of the element.
|
UnitValue |
Style.getMarginBottom()
Gets the current bottom margin width of the element.
|
UnitValue |
Style.getMarginLeft()
Gets the current left margin width of the element.
|
UnitValue |
Style.getMarginRight()
Gets the current right margin width of the element.
|
UnitValue |
Style.getMarginTop()
Gets the current top margin width of the element.
|
UnitValue |
Style.getPaddingBottom()
Gets the current bottom padding width of the element.
|
UnitValue |
Style.getPaddingLeft()
Gets the current left padding width of the element.
|
UnitValue |
Style.getPaddingRight()
Gets the current right padding width of the element.
|
UnitValue |
Style.getPaddingTop()
Gets the current top padding width of the element.
|
UnitValue |
Style.getWidth()
Gets the width property of the element.
|
Modifier and Type | Method and Description |
---|---|
T |
ElementPropertyContainer.setFixedPosition(float left,
float bottom,
UnitValue width)
Sets values for a absolute repositioning of the Element.
|
T |
ElementPropertyContainer.setFixedPosition(int pageNumber,
float left,
float bottom,
UnitValue width)
Sets values for a absolute repositioning of the Element.
|
Style |
Style.setHeight(UnitValue height)
Sets the height property of the element with a
UnitValue . |
Style |
Style.setMaxHeight(UnitValue maxHeight)
Sets the max-height property of the element with a
UnitValue . |
Style |
Style.setMaxWidth(UnitValue maxWidth)
Sets the max-width property of the element with a
UnitValue . |
Style |
Style.setMinHeight(UnitValue minHeight)
Sets the min-height property of the element with a
UnitValue . |
Style |
Style.setMinWidth(UnitValue minWidth)
Sets the min-width property of the element with a
UnitValue . |
Style |
Style.setWidth(UnitValue width)
Sets the width property of the element with a
UnitValue . |
Modifier and Type | Method and Description |
---|---|
UnitValue |
Table.getColumnWidth(int column)
Returns the column width for the specified column.
|
UnitValue |
BlockElement.getHeight()
Gets the height property of a block element.
|
UnitValue |
BlockElement.getMarginBottom()
Gets the current bottom margin width of the element.
|
UnitValue |
Image.getMarginBottom()
Gets the current bottom margin width of the image.
|
UnitValue |
BlockElement.getMarginLeft()
Gets the current left margin width of the element.
|
UnitValue |
Image.getMarginLeft()
Gets the current left margin width of the element.
|
UnitValue |
BlockElement.getMarginRight()
Gets the current right margin width of the element.
|
UnitValue |
Image.getMarginRight()
Gets the current right margin width of the image.
|
UnitValue |
BlockElement.getMarginTop()
Gets the current top margin width of the element.
|
UnitValue |
Image.getMarginTop()
Gets the current top margin width of the image.
|
UnitValue |
BlockElement.getPaddingBottom()
Gets the current bottom padding width of the element.
|
UnitValue |
Image.getPaddingBottom()
Gets the current bottom padding width of the image.
|
UnitValue |
BlockElement.getPaddingLeft()
Gets the current left padding width of the element.
|
UnitValue |
Image.getPaddingLeft()
Gets the current left padding width of the image.
|
UnitValue |
BlockElement.getPaddingRight()
Gets the current right padding width of the element.
|
UnitValue |
Image.getPaddingRight()
Gets the current right padding width of the image.
|
UnitValue |
BlockElement.getPaddingTop()
Gets the current top padding width of the element.
|
UnitValue |
Image.getPaddingTop()
Gets the current top padding width of the image.
|
UnitValue |
BlockElement.getWidth()
Gets the width property of a block element.
|
UnitValue |
Image.getWidth()
Gets the width property of the image.
|
Modifier and Type | Method and Description |
---|---|
T |
BlockElement.setHeight(UnitValue height)
Sets the height property of a block element with a
UnitValue . |
Image |
Image.setHeight(UnitValue height)
Sets the height property of the image with a
UnitValue . |
T |
BlockElement.setMaxHeight(UnitValue maxHeight)
Sets the max-height property of a block element with a
UnitValue . |
Image |
Image.setMaxHeight(UnitValue maxHeight)
Sets the max-height property of the image with a
UnitValue . |
T |
BlockElement.setMaxWidth(UnitValue maxWidth)
Sets the max-width property of a block element with a
UnitValue . |
Image |
Image.setMaxWidth(UnitValue maxWidth)
Sets the max-width property of the image with a
UnitValue . |
T |
BlockElement.setMinHeight(UnitValue minHeight)
Sets the min-height property of a block element with a
UnitValue . |
Image |
Image.setMinHeight(UnitValue minHeight)
Sets the min-height property of the image with a
UnitValue . |
T |
BlockElement.setMinWidth(UnitValue minWidth)
Sets the min-width property of a block element with a
UnitValue . |
Image |
Image.setMinWidth(UnitValue minWidth)
Sets the min-width property of the image with a
UnitValue . |
T |
BlockElement.setWidth(UnitValue width)
Sets the width property of a block element with a
UnitValue . |
Image |
Image.setWidth(UnitValue width)
Sets the width property of the image with a
UnitValue . |
Constructor and Description |
---|
Table(UnitValue[] columnWidths)
Constructs a
Table with the preferable column widths. |
Table(UnitValue[] columnWidths,
boolean largeTable)
Constructs a
Table with the preferable column widths. |
Modifier and Type | Method and Description |
---|---|
static UnitValue[] |
UnitValue.createPercentArray(float[] values)
Creates an array of UnitValue PERCENT objects with specified values.
|
static UnitValue[] |
UnitValue.createPercentArray(int size)
Creates an array of UnitValue PERCENT objects with equal values.
|
static UnitValue |
UnitValue.createPercentValue(float value)
Creates a UnitValue PERCENT object with a specified value.
|
static UnitValue[] |
UnitValue.createPointArray(float[] values)
Creates an array of UnitValue POINT objects with specified values.
|
static UnitValue |
UnitValue.createPointValue(float value)
Creates a UnitValue POINT object with a specified value.
|
UnitValue |
BorderRadius.getHorizontalRadius()
Gets the horizontal radius of the
border's corner. |
UnitValue[] |
Transform.SingleTransform.getUnitValues()
Gets an array of values corresponding to translation.
|
UnitValue |
BorderRadius.getVerticalRadius()
Gets the vertical radius of the
border's corner. |
Constructor and Description |
---|
BorderRadius(UnitValue radius)
Creates a
border radius with given value. |
BorderRadius(UnitValue horizontalRadius,
UnitValue verticalRadius)
Creates a
border radius with given horizontal and vertical values. |
SingleTransform(float a,
float b,
float c,
float d,
UnitValue tx,
UnitValue ty)
Creates a
Transform.SingleTransform instance. |
UnitValue(UnitValue unitValue)
Creates a copy of UnitValue object.
|
Modifier and Type | Method and Description |
---|---|
protected UnitValue[] |
AbstractRenderer.getMargins()
Returns margins of the renderer
|
protected UnitValue[] |
AbstractRenderer.getPaddings()
Returns paddings of the renderer
|
UnitValue |
AbstractRenderer.getPropertyAsUnitValue(int property)
Returns a property with a certain key, as a unit value.
|
Modifier and Type | Method and Description |
---|---|
protected float |
BlockRenderer.applyBordersPaddingsMargins(Rectangle parentBBox,
Border[] borders,
UnitValue[] paddings) |
protected Rectangle |
AbstractRenderer.applyMargins(Rectangle rect,
UnitValue[] margins,
boolean reverse)
Applies given margins on the given rectangle
|
protected Rectangle |
CellRenderer.applyMargins(Rectangle rect,
UnitValue[] margins,
boolean reverse) |
protected Rectangle |
AbstractRenderer.applyPaddings(Rectangle rect,
UnitValue[] paddings,
boolean reverse)
Applies given paddings on the given rectangle
|
protected Rectangle |
ImageRenderer.applyPaddings(Rectangle rect,
UnitValue[] paddings,
boolean reverse) |
protected Rectangle |
TableRenderer.applyPaddings(Rectangle rect,
UnitValue[] paddings,
boolean reverse) |
protected void |
AbstractRenderer.updateHeight(UnitValue updatedHeight)
Updates fixed content box height value for this renderer.
|
protected void |
AbstractRenderer.updateMaxHeight(UnitValue updatedMaxHeight)
Updates content box max-height value for this renderer.
|
protected void |
AbstractRenderer.updateMinHeight(UnitValue updatedMinHeight)
Updates content box min-height value for this renderer.
|
protected void |
AbstractRenderer.updateWidth(UnitValue updatedWidthValue)
Updates fixed content box width value for this renderer.
|
Copyright © 1998–2019 iText Group NV. All rights reserved.