Uses of Class
com.itextpdf.layout.properties.UnitValue
Packages that use UnitValue
Package
Description
-
Uses of UnitValue in com.itextpdf.forms.form.renderer
Methods in com.itextpdf.forms.form.renderer that return UnitValueMethods in com.itextpdf.forms.form.renderer with parameters of type UnitValueModifier and TypeMethodDescriptionprotected RectangleCheckBoxRenderer.applyPaddings(Rectangle rect, UnitValue[] paddings, boolean reverse) Applies given paddings to the given rectangle. -
Uses of UnitValue in com.itextpdf.layout
Methods in com.itextpdf.layout that return UnitValueModifier and TypeMethodDescriptionStyle.getHeight()Gets the height property of the element.Style.getMarginBottom()Gets the current bottom margin width of the element.Style.getMarginLeft()Gets the current left margin width of the element.Style.getMarginRight()Gets the current right margin width of the element.Style.getMarginTop()Gets the current top margin width of the element.Style.getPaddingBottom()Gets the current bottom padding width of the element.Style.getPaddingLeft()Gets the current left padding width of the element.Style.getPaddingRight()Gets the current right padding width of the element.Style.getPaddingTop()Gets the current top padding width of the element.Style.getWidth()Gets the width property of the element.Methods in com.itextpdf.layout with parameters of type UnitValueModifier and TypeMethodDescriptionElementPropertyContainer.setFixedPosition(float left, float bottom, UnitValue width) Sets values for an absolute repositioning of the Element.ElementPropertyContainer.setFixedPosition(int pageNumber, float left, float bottom, UnitValue width) Sets values for a absolute repositioning of the Element.Sets the height property of the element with aUnitValue.Style.setMaxHeight(UnitValue maxHeight) Sets the max-height property of the element with aUnitValue.Style.setMaxWidth(UnitValue maxWidth) Sets the max-width property of the element with aUnitValue.Style.setMinHeight(UnitValue minHeight) Sets the min-height property of the element with aUnitValue.Style.setMinWidth(UnitValue minWidth) Sets the min-width property of the element with aUnitValue.Sets the width property of the element with aUnitValue. -
Uses of UnitValue in com.itextpdf.layout.element
Fields in com.itextpdf.layout.element declared as UnitValueMethods in com.itextpdf.layout.element that return UnitValueModifier and TypeMethodDescriptionTable.getColumnWidth(int column) Returns the column width for the specified column.BlockElement.getHeight()Gets the height property of a block element.BlockElement.getMarginBottom()Gets the current bottom margin width of the element.Image.getMarginBottom()Gets the current bottom margin width of the image.BlockElement.getMarginLeft()Gets the current left margin width of the element.Image.getMarginLeft()Gets the current left margin width of the element.BlockElement.getMarginRight()Gets the current right margin width of the element.Image.getMarginRight()Gets the current right margin width of the image.BlockElement.getMarginTop()Gets the current top margin width of the element.Image.getMarginTop()Gets the current top margin width of the image.BlockElement.getPaddingBottom()Gets the current bottom padding width of the element.Image.getPaddingBottom()Gets the current bottom padding width of the image.BlockElement.getPaddingLeft()Gets the current left padding width of the element.Image.getPaddingLeft()Gets the current left padding width of the image.BlockElement.getPaddingRight()Gets the current right padding width of the element.Image.getPaddingRight()Gets the current right padding width of the image.BlockElement.getPaddingTop()Gets the current top padding width of the element.Image.getPaddingTop()Gets the current top padding width of the image.BlockElement.getWidth()Gets the width property of a block element.Image.getWidth()Gets the width property of the image.private static UnitValue[]Table.normalizeColumnWidths(float[] pointColumnWidths) private static UnitValue[]Table.normalizeColumnWidths(int numberOfColumns) private static UnitValue[]Table.normalizeColumnWidths(UnitValue[] unitColumnWidths) Methods in com.itextpdf.layout.element with parameters of type UnitValueModifier and TypeMethodDescriptionprivate static UnitValue[]Table.normalizeColumnWidths(UnitValue[] unitColumnWidths) Sets the height property of a block element with aUnitValue.Sets the height property of the image with aUnitValue.BlockElement.setMaxHeight(UnitValue maxHeight) Sets the max-height property of a block element with aUnitValue.Image.setMaxHeight(UnitValue maxHeight) Sets the max-height property of the image with aUnitValue.BlockElement.setMaxWidth(UnitValue maxWidth) Sets the max-width property of a block element with aUnitValue.Image.setMaxWidth(UnitValue maxWidth) Sets the max-width property of the image with aUnitValue.BlockElement.setMinHeight(UnitValue minHeight) Sets the min-height property of a block element with aUnitValue.Image.setMinHeight(UnitValue minHeight) Sets the min-height property of the image with aUnitValue.BlockElement.setMinWidth(UnitValue minWidth) Sets the min-width property of a block element with aUnitValue.Image.setMinWidth(UnitValue minWidth) Sets the min-width property of the image with aUnitValue.Sets the width property of a block element with aUnitValue.Sets the width property of the image with aUnitValue.Constructors in com.itextpdf.layout.element with parameters of type UnitValue -
Uses of UnitValue in com.itextpdf.layout.properties
Fields in com.itextpdf.layout.properties declared as UnitValueModifier and TypeFieldDescriptionprivate UnitValueBackgroundSize.backgroundHeightSizeHeight size for this image.private UnitValueBackgroundSize.backgroundWidthSizeWidth size for this image.private UnitValueBorderRadius.horizontalRadiusThe horizontal semi-major axis of the ellipse to use for the border in that corner.private static final UnitValueBackgroundImage.PERCENT_VALUE_100private UnitValueTransform.SingleTransform.txprivate UnitValueTransform.SingleTransform.typrivate UnitValueBorderRadius.verticalRadiusThe vertical semi-major axis of the ellipse to use for the border in that corner.private UnitValueBackgroundPosition.xShiftprivate UnitValueBackgroundPosition.yShiftMethods in com.itextpdf.layout.properties that return UnitValueModifier and TypeMethodDescriptionstatic 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 UnitValueUnitValue.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 UnitValueUnitValue.createPointValue(float value) Creates a UnitValue POINT object with a specified value.BackgroundSize.getBackgroundHeightSize()Gets the background height property of the image.BackgroundSize.getBackgroundWidthSize()Gets the background width property of the image.BorderRadius.getHorizontalRadius()Gets the horizontal radius of theborder'scorner.Transform.SingleTransform.getUnitValues()Gets an array of values corresponding to translation.BorderRadius.getVerticalRadius()Gets the vertical radius of theborder'scorner.BackgroundPosition.getXShift()Gets horizontal shift.BackgroundPosition.getYShift()Gets vertical shift.Methods in com.itextpdf.layout.properties with parameters of type UnitValueModifier and TypeMethodDescriptionvoidBackgroundPosition.calculatePositionValues(float fullWidth, float fullHeight, UnitValue outXValue, UnitValue outYValue) Converts all percentage and enum values to point equivalent.private static floatBackgroundPosition.calculateValue(UnitValue value, float fullValue) private intBackgroundPosition.parsePositionXToUnitValueAndReturnMultiplier(UnitValue outValue) Parses positionX toUnitValue.private intBackgroundPosition.parsePositionYToUnitValueAndReturnMultiplier(UnitValue outValue) Parses positionY toUnitValue.voidBackgroundSize.setBackgroundSizeToValues(UnitValue width, UnitValue height) Clears all current properties and sets new width and height values.Sets horizontal shift.Sets vertical shift.Constructors in com.itextpdf.layout.properties with parameters of type UnitValueModifierConstructorDescriptionBorderRadius(UnitValue radius) Creates aborder radiuswith given value.BorderRadius(UnitValue horizontalRadius, UnitValue verticalRadius) Creates aborder radiuswith given horizontal and vertical values.SingleTransform(float a, float b, float c, float d, UnitValue tx, UnitValue ty) Creates aTransform.SingleTransforminstance.Creates a copy of UnitValue object. -
Uses of UnitValue in com.itextpdf.layout.properties.grid
Constructors in com.itextpdf.layout.properties.grid with parameters of type UnitValueModifierConstructorDescriptionFitContentValue(UnitValue length) Create fit content function value based on providedUnitValueinstance. -
Uses of UnitValue in com.itextpdf.layout.renderer
Fields in com.itextpdf.layout.renderer declared as UnitValueFields in com.itextpdf.layout.renderer with type parameters of type UnitValueModifier and TypeFieldDescriptionFlexContainerRenderer.heightsChild renderers and their heights and min heights before the layout.FlexContainerRenderer.heightsChild renderers and their heights and min heights before the layout.Methods in com.itextpdf.layout.renderer that return UnitValueModifier and TypeMethodDescriptionprivate UnitValueTableWidths.getCellWidth(CellRenderer cell, boolean zeroIsValid) Gets width of the cell, adding paddings and extra spacing if necessary.protected UnitValue[]AbstractRenderer.getMargins()Returns margins of the renderer [0] - top; [1] - right; [2] - bottom; [3] - leftprivate static UnitValue[]AbstractRenderer.getMargins(IRenderer renderer) protected UnitValue[]AbstractRenderer.getPaddings()Returns paddings of the renderer [0] - top; [1] - right; [2] - bottom; [3] - leftprivate static UnitValue[]AbstractRenderer.getPaddings(IRenderer renderer) AbstractRenderer.getPropertyAsUnitValue(int property) Returns a property with a certain key, as a unit value.(package private) static UnitValueAbstractRenderer.getPropertyAsUnitValue(IRenderer renderer, int property) Returns the property of the renderer as a UnitValue if it exists and is a UnitValue, null otherwiseprivate UnitValueTableWidths.resolveMinMaxCollision(CellRenderer cell, UnitValue widthValue) Methods in com.itextpdf.layout.renderer with parameters of type UnitValueModifier and TypeMethodDescriptionprotected RectangleAbstractRenderer.applyMargins(Rectangle rect, UnitValue[] margins, boolean reverse) Applies given margins on the given rectangleprotected RectangleCellRenderer.applyMargins(Rectangle rect, UnitValue[] margins, boolean reverse) protected RectangleAbstractRenderer.applyPaddings(Rectangle rect, UnitValue[] paddings, boolean reverse) Applies given paddings to the given rectangle.protected RectangleImageRenderer.applyPaddings(Rectangle rect, UnitValue[] paddings, boolean reverse) protected RectangleTableRenderer.applyPaddings(Rectangle rect, UnitValue[] paddings, boolean reverse) private voidTextRenderer.drawText(PdfCanvas canvas, UnitValue fontSize, boolean italicSimulation, Integer textRenderingMode, Float strokeWidth, TransparentColor fontColor, TransparentColor strokeColor) private voidTextRenderer.increaseYLineOffset(UnitValue[] paddings, Border[] borders, UnitValue[] margins) (package private) voidTableWidths.processCellsRemainWidth(TableWidths.CellInfo cell, UnitValue cellWidth) (package private) LayoutResultBlockRenderer.processNotFullChildResult(LayoutContext layoutContext, Map<Integer, IRenderer> waitingFloatsSplitRenderers, List<IRenderer> waitingOverflowFloatRenderers, boolean wasHeightClipped, List<Rectangle> floatRendererAreas, boolean marginsCollapsingEnabled, float clearHeightCorrection, Border[] borders, UnitValue[] paddings, List<Rectangle> areas, int currentAreaPos, Rectangle layoutBox, Set<Rectangle> nonChildFloatingRendererAreas, IRenderer causeOfNothing, boolean anythingPlaced, int childPos, LayoutResult result) (package private) LayoutResultFlexContainerRenderer.processNotFullChildResult(LayoutContext layoutContext, Map<Integer, IRenderer> waitingFloatsSplitRenderers, List<IRenderer> waitingOverflowFloatRenderers, boolean wasHeightClipped, List<Rectangle> floatRendererAreas, boolean marginsCollapsingEnabled, float clearHeightCorrection, Border[] borders, UnitValue[] paddings, List<Rectangle> areas, int currentAreaPos, Rectangle layoutBox, Set<Rectangle> nonChildFloatingRendererAreas, IRenderer causeOfNothing, boolean anythingPlaced, int childPos, LayoutResult result) private UnitValueTableWidths.resolveMinMaxCollision(CellRenderer cell, UnitValue widthValue) private FloatTableWidths.retrieveTableWidth(UnitValue width, float availableWidth) protected voidAbstractRenderer.updateHeight(UnitValue updatedHeight) Updates fixed content box height value for this renderer.protected voidAbstractRenderer.updateMaxHeight(UnitValue updatedMaxHeight) Updates content box max-height value for this renderer.protected voidAbstractRenderer.updateMinHeight(UnitValue updatedMinHeight) Updates content box min-height value for this renderer.protected voidAbstractRenderer.updateWidth(UnitValue updatedWidthValue) Updates fixed content box width value for this renderer. -
Uses of UnitValue in com.itextpdf.styledxmlparser.css.util
Methods in com.itextpdf.styledxmlparser.css.util that return UnitValueModifier and TypeMethodDescriptionstatic UnitValueCssDimensionParsingUtils.parseLengthValueToPt(String value, float emValue, float remValue) Convenience method for parsing a value to pt.static UnitValue[]CssDimensionParsingUtils.parseSpecificCornerBorderRadius(String specificBorderRadius, float emValue, float remValue) Parses the border radius of specific corner.Methods in com.itextpdf.styledxmlparser.css.util with parameters of type UnitValueModifier and TypeMethodDescriptionprivate static GradientColorStopCssGradientUtil.createStopColor(float[] rgba, UnitValue offset) -
Uses of UnitValue in com.itextpdf.svg.renderers
Methods in com.itextpdf.svg.renderers with parameters of type UnitValueModifier and TypeMethodDescriptionprivate SvgImageRenderer.AreaSvgImageRenderer.initMissingMetricsAndApplyAspectRatio(Float aspectRatio, SvgImageRenderer.NullableArea retrievedArea, SvgImageRenderer.Area area, UnitValue xObjectWidth, UnitValue xObjectHeight) -
Uses of UnitValue in com.itextpdf.svg.xobject
Methods in com.itextpdf.svg.xobject that return UnitValueModifier and TypeMethodDescriptionSvgImageXObject.getElementHeight()Gets the SVG element height.SvgImageXObject.getElementWidth()Gets the SVG element width.