Uses of Class
com.itextpdf.layout.properties.UnitValue
-
-
Uses of UnitValue in com.itextpdf.forms.form.renderer
Methods in com.itextpdf.forms.form.renderer that return UnitValue Modifier and Type Method Description private UnitValueSelectFieldComboBoxRenderer. getFontSize()Methods in com.itextpdf.forms.form.renderer with parameters of type UnitValue Modifier and Type Method Description protected 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 UnitValue Modifier and Type Method Description UnitValueStyle. getHeight()Gets the height property of the element.UnitValueStyle. getMarginBottom()Gets the current bottom margin width of the element.UnitValueStyle. getMarginLeft()Gets the current left margin width of the element.UnitValueStyle. getMarginRight()Gets the current right margin width of the element.UnitValueStyle. getMarginTop()Gets the current top margin width of the element.UnitValueStyle. getPaddingBottom()Gets the current bottom padding width of the element.UnitValueStyle. getPaddingLeft()Gets the current left padding width of the element.UnitValueStyle. getPaddingRight()Gets the current right padding width of the element.UnitValueStyle. getPaddingTop()Gets the current top padding width of the element.UnitValueStyle. getWidth()Gets the width property of the element.Methods in com.itextpdf.layout with parameters of type UnitValue Modifier and Type Method Description TElementPropertyContainer. setFixedPosition(float left, float bottom, UnitValue width)Sets values for an absolute repositioning of the Element.TElementPropertyContainer. setFixedPosition(int pageNumber, float left, float bottom, UnitValue width)Sets values for a absolute repositioning of the Element.StyleStyle. setHeight(UnitValue height)Sets the height property of the element with aUnitValue.StyleStyle. setMaxHeight(UnitValue maxHeight)Sets the max-height property of the element with aUnitValue.StyleStyle. setMaxWidth(UnitValue maxWidth)Sets the max-width property of the element with aUnitValue.StyleStyle. setMinHeight(UnitValue minHeight)Sets the min-height property of the element with aUnitValue.StyleStyle. setMinWidth(UnitValue minWidth)Sets the min-width property of the element with aUnitValue.StyleStyle. setWidth(UnitValue width)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 UnitValue Modifier and Type Field Description private UnitValue[]Table. columnWidthsMethods in com.itextpdf.layout.element that return UnitValue Modifier and Type Method Description UnitValueTable. getColumnWidth(int column)Returns the column width for the specified column.UnitValueBlockElement. getHeight()Gets the height property of a block element.UnitValueBlockElement. getMarginBottom()Gets the current bottom margin width of the element.UnitValueImage. getMarginBottom()Gets the current bottom margin width of the image.UnitValueBlockElement. getMarginLeft()Gets the current left margin width of the element.UnitValueImage. getMarginLeft()Gets the current left margin width of the element.UnitValueBlockElement. getMarginRight()Gets the current right margin width of the element.UnitValueImage. getMarginRight()Gets the current right margin width of the image.UnitValueBlockElement. getMarginTop()Gets the current top margin width of the element.UnitValueImage. getMarginTop()Gets the current top margin width of the image.UnitValueBlockElement. getPaddingBottom()Gets the current bottom padding width of the element.UnitValueImage. getPaddingBottom()Gets the current bottom padding width of the image.UnitValueBlockElement. getPaddingLeft()Gets the current left padding width of the element.UnitValueImage. getPaddingLeft()Gets the current left padding width of the image.UnitValueBlockElement. getPaddingRight()Gets the current right padding width of the element.UnitValueImage. getPaddingRight()Gets the current right padding width of the image.UnitValueBlockElement. getPaddingTop()Gets the current top padding width of the element.UnitValueImage. getPaddingTop()Gets the current top padding width of the image.UnitValueBlockElement. getWidth()Gets the width property of a block element.UnitValueImage. 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 UnitValue Modifier and Type Method Description private static UnitValue[]Table. normalizeColumnWidths(UnitValue[] unitColumnWidths)TBlockElement. setHeight(UnitValue height)Sets the height property of a block element with aUnitValue.ImageImage. setHeight(UnitValue height)Sets the height property of the image with aUnitValue.TBlockElement. setMaxHeight(UnitValue maxHeight)Sets the max-height property of a block element with aUnitValue.ImageImage. setMaxHeight(UnitValue maxHeight)Sets the max-height property of the image with aUnitValue.TBlockElement. setMaxWidth(UnitValue maxWidth)Sets the max-width property of a block element with aUnitValue.ImageImage. setMaxWidth(UnitValue maxWidth)Sets the max-width property of the image with aUnitValue.TBlockElement. setMinHeight(UnitValue minHeight)Sets the min-height property of a block element with aUnitValue.ImageImage. setMinHeight(UnitValue minHeight)Sets the min-height property of the image with aUnitValue.TBlockElement. setMinWidth(UnitValue minWidth)Sets the min-width property of a block element with aUnitValue.ImageImage. setMinWidth(UnitValue minWidth)Sets the min-width property of the image with aUnitValue.TBlockElement. setWidth(UnitValue width)Sets the width property of a block element with aUnitValue.ImageImage. setWidth(UnitValue width)Sets the width property of the image with aUnitValue.Constructors in com.itextpdf.layout.element with parameters of type UnitValue Constructor Description Table(UnitValue[] columnWidths)Constructs aTablewith the preferable column widths.Table(UnitValue[] columnWidths, boolean largeTable)Constructs aTablewith the preferable column widths. -
Uses of UnitValue in com.itextpdf.layout.properties
Fields in com.itextpdf.layout.properties declared as UnitValue Modifier and Type Field Description private 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 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 UnitValue Modifier and Type Method 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 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.UnitValueBackgroundSize. getBackgroundHeightSize()Gets the background height property of the image.UnitValueBackgroundSize. getBackgroundWidthSize()Gets the background width property of the image.UnitValueBorderRadius. getHorizontalRadius()Gets the horizontal radius of theborder'scorner.UnitValue[]Transform.SingleTransform. getUnitValues()Gets an array of values corresponding to translation.UnitValueBorderRadius. getVerticalRadius()Gets the vertical radius of theborder'scorner.UnitValueBackgroundPosition. getXShift()Gets horizontal shift.UnitValueBackgroundPosition. getYShift()Gets vertical shift.Methods in com.itextpdf.layout.properties with parameters of type UnitValue Modifier and Type Method Description voidBackgroundPosition. 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.BackgroundPositionBackgroundPosition. setXShift(UnitValue xShift)Sets horizontal shift.BackgroundPositionBackgroundPosition. setYShift(UnitValue yShift)Sets vertical shift.Constructors in com.itextpdf.layout.properties with parameters of type UnitValue Constructor Description BorderRadius(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.UnitValue(UnitValue unitValue)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 UnitValue Constructor Description FitContentValue(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 UnitValue Modifier and Type Field Description private static UnitValueTableWidths. ZeroWidthFields in com.itextpdf.layout.renderer with type parameters of type UnitValue Modifier and Type Field Description private java.util.Map<IRenderer,Tuple2<UnitValue,UnitValue>>FlexContainerRenderer. heightsChild renderers and their heights and min heights before the layout.private java.util.Map<IRenderer,Tuple2<UnitValue,UnitValue>>FlexContainerRenderer. heightsChild renderers and their heights and min heights before the layout.Methods in com.itextpdf.layout.renderer that return UnitValue Modifier and Type Method Description private 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)UnitValueAbstractRenderer. 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 UnitValue Modifier and Type Method Description protected 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, java.lang.Integer textRenderingMode, java.lang.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, java.util.Map<java.lang.Integer,IRenderer> waitingFloatsSplitRenderers, java.util.List<IRenderer> waitingOverflowFloatRenderers, boolean wasHeightClipped, java.util.List<Rectangle> floatRendererAreas, boolean marginsCollapsingEnabled, float clearHeightCorrection, Border[] borders, UnitValue[] paddings, java.util.List<Rectangle> areas, int currentAreaPos, Rectangle layoutBox, java.util.Set<Rectangle> nonChildFloatingRendererAreas, IRenderer causeOfNothing, boolean anythingPlaced, int childPos, LayoutResult result)(package private) LayoutResultFlexContainerRenderer. processNotFullChildResult(LayoutContext layoutContext, java.util.Map<java.lang.Integer,IRenderer> waitingFloatsSplitRenderers, java.util.List<IRenderer> waitingOverflowFloatRenderers, boolean wasHeightClipped, java.util.List<Rectangle> floatRendererAreas, boolean marginsCollapsingEnabled, float clearHeightCorrection, Border[] borders, UnitValue[] paddings, java.util.List<Rectangle> areas, int currentAreaPos, Rectangle layoutBox, java.util.Set<Rectangle> nonChildFloatingRendererAreas, IRenderer causeOfNothing, boolean anythingPlaced, int childPos, LayoutResult result)private UnitValueTableWidths. resolveMinMaxCollision(CellRenderer cell, UnitValue widthValue)private java.lang.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 UnitValue Modifier and Type Method Description static UnitValueCssDimensionParsingUtils. parseLengthValueToPt(java.lang.String value, float emValue, float remValue)Convenience method for parsing a value to pt.static UnitValue[]CssDimensionParsingUtils. parseSpecificCornerBorderRadius(java.lang.String specificBorderRadius, float emValue, float remValue)Parses the border radius of specific corner.Methods in com.itextpdf.styledxmlparser.css.util with parameters of type UnitValue Modifier and Type Method Description private 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 UnitValue Modifier and Type Method Description private SvgImageRenderer.AreaSvgImageRenderer. initMissingMetricsAndApplyAspectRatio(java.lang.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 UnitValue Modifier and Type Method Description UnitValueSvgImageXObject. getElementHeight()Gets the SVG element height.UnitValueSvgImageXObject. getElementWidth()Gets the SVG element width.
-