Uses of Class
com.itextpdf.layout.Style
Packages that use Style
-
Uses of Style in com.itextpdf.layout
Methods in com.itextpdf.layout that return StyleModifier and TypeMethodDescriptionStyle.setHeight
(float height) Sets the height property the element as a point-value.Sets the height property of the element with aUnitValue
.Style.setKeepTogether
(boolean keepTogether) Sets whether theBlockElement
should be kept together as much as possible.Style.setMargin
(float commonMargin) Sets all margins around the element to the same width.Style.setMarginBottom
(float value) Sets the bottom margin width of the element.Style.setMarginLeft
(float value) Sets the left margin width of the element.Style.setMarginRight
(float value) Sets the right margin width of the element.Style.setMargins
(float marginTop, float marginRight, float marginBottom, float marginLeft) Sets the margins around the element to a series of new widths.Style.setMarginTop
(float value) Sets the top margin width of the element.Style.setMaxHeight
(float maxHeight) Sets the max-height of the element as point-unit value.Style.setMaxHeight
(UnitValue maxHeight) Sets the max-height property of the element with aUnitValue
.Style.setMaxWidth
(float maxWidth) Sets the max-width of the element as point-unit value.Style.setMaxWidth
(UnitValue maxWidth) Sets the max-width property of the element with aUnitValue
.Style.setMinHeight
(float minHeight) Sets the min-height of the element as point-unit value.Style.setMinHeight
(UnitValue minHeight) Sets the min-height property of the element with aUnitValue
.Style.setMinWidth
(float minWidth) Sets the min-width of the element as point-unit value.Style.setMinWidth
(UnitValue minWidth) Sets the min-width property of the element with aUnitValue
.Style.setPadding
(float commonPadding) Sets all paddings around the element to the same width.Style.setPaddingBottom
(float value) Sets the bottom padding width of the element.Style.setPaddingLeft
(float value) Sets the left padding width of the element.Style.setPaddingRight
(float value) Sets the right padding width of the element.Style.setPaddings
(float paddingTop, float paddingRight, float paddingBottom, float paddingLeft) Sets the paddings around the element to a series of new widths.Style.setPaddingTop
(float value) Sets the top padding width of the element.Style.setRotationAngle
(double angle) Sets the rotation angle.Style.setRotationAngle
(float radAngle) Sets the rotation radAngle.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.setVerticalAlignment
(VerticalAlignment verticalAlignment) Sets the vertical alignment of the element.Style.setWidth
(float width) Sets the width property of the element, measured in points.Sets the width property of the element with aUnitValue
.Constructors in com.itextpdf.layout with parameters of type Style -
Uses of Style in com.itextpdf.layout.element
Fields in com.itextpdf.layout.element with type parameters of type StyleMethods in com.itextpdf.layout.element with parameters of type Style