| Package | Description | 
|---|---|
| com.itextpdf.layout | |
| com.itextpdf.layout.element | 
| Modifier and Type | Method and Description | 
|---|---|
| Style | Style. setHeight(float height)
             Sets the height property the element as a point-value. 
            | 
| Style | Style. setHeight(UnitValue height)
             Sets the height property of the element with a  UnitValue. | 
| Style | Style. setKeepTogether(boolean keepTogether)
             Sets whether the  BlockElementshould be kept together as much as possible. | 
| Style | Style. setMargin(float commonMargin)
             Sets all margins around the element to the same width. 
            | 
| Style | Style. setMarginBottom(float value)
             Sets the bottom margin width of the element. 
            | 
| Style | Style. setMarginLeft(float value)
             Sets the left margin width of the element. 
            | 
| Style | Style. setMarginRight(float value)
             Sets the right margin width of the element. 
            | 
| Style | Style. setMargins(float marginTop, float marginRight, float marginBottom, float marginLeft)
             Sets the margins around the element to a series of new widths. 
            | 
| Style | Style. setMarginTop(float value)
             Sets the top margin width of the element. 
            | 
| Style | Style. setMaxHeight(float maxHeight)
             Sets the max-height of the element as point-unit value. 
            | 
| Style | Style. setMaxHeight(UnitValue maxHeight)
             Sets the max-height property of the element with a  UnitValue. | 
| Style | Style. setMaxWidth(float maxWidth)
             Sets the max-width of the element as point-unit value. 
            | 
| Style | Style. setMaxWidth(UnitValue maxWidth)
             Sets the max-width property of the element with a  UnitValue. | 
| Style | Style. setMinHeight(float minHeight)
             Sets the min-height of the element as point-unit value. 
            | 
| Style | Style. setMinHeight(UnitValue minHeight)
             Sets the min-height property of the element with a  UnitValue. | 
| Style | Style. setMinWidth(float minWidth)
             Sets the min-width of the element as point-unit value. 
            | 
| Style | Style. setMinWidth(UnitValue minWidth)
             Sets the min-width property of the element with a  UnitValue. | 
| Style | Style. setPadding(float commonPadding)
             Sets all paddings around the element to the same width. 
            | 
| Style | Style. setPaddingBottom(float value)
             Sets the bottom padding width of the element. 
            | 
| Style | Style. setPaddingLeft(float value)
             Sets the left padding width of the element. 
            | 
| Style | Style. setPaddingRight(float value)
             Sets the right padding width of the element. 
            | 
| Style | Style. setPaddings(float paddingTop, float paddingRight, float paddingBottom, float paddingLeft)
             Sets the paddings around the element to a series of new widths. 
            | 
| Style | Style. setPaddingTop(float value)
             Sets the top padding width of the element. 
            | 
| Style | Style. setRotationAngle(double angle)
             Sets the rotation angle. 
            | 
| Style | Style. setRotationAngle(float radAngle)
             Sets the rotation radAngle. 
            | 
| Style | Style. setSpacingRatio(float ratio)
             Sets a ratio which determines in which proportion will word spacing and character spacing be applied when horizontal alignment is justified. 
            | 
| Style | Style. setVerticalAlignment(VerticalAlignment verticalAlignment)
             Sets the vertical alignment of the element. 
            | 
| Style | Style. setWidth(float width)
             Sets the width property of the element, measured in points. 
            | 
| Style | Style. setWidth(UnitValue width)
             Sets the width property of the element with a  UnitValue. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Set<Style> | AbstractElement. styles | 
| Modifier and Type | Method and Description | 
|---|---|
| T | AbstractElement. addStyle(Style style)
             Add a new style to this element. 
            | 
Copyright © 1998–2019 iText Group NV. All rights reserved.