Generated by
JDiff

com.itextpdf.svg.renderers.impl Documentation Differences

This file contains all the changes in documentation in the package com.itextpdf.svg.renderers.impl as colored differences. Deletions are shown like this , and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a tag will cause all subsequent paragraphs to be displayed differently.

Class AbstractBranchSvgNodeRenderer, int VIEWBOX_VALUES_NUMBER

The number of viewBox values. Deprecate in favour of {@code SvgConstants.Values.VIEWBOX_VALUES_NUMBER}

Class AbstractSvgNodeRenderer, float getCurrentFontSize()

Return font-size of the current element element in px.

This method is deprecated in favour of AbstractSvgNodeRenderer.getCurrentFontSize(SvgDrawContext) because current one can't support relative values (em, rem) and those can't be resolved without SvgDrawContext. @return absolute value of font-size

Class AbstractSvgNodeRenderer, float parseAbsoluteLength(String, float, float, SvgDrawContext)

Parse length attributes.

This method is deprecated and SvgCssUtils.parseAbsoluteLength(AbstractSvgNodeRenderer, String, float, float, SvgDrawContext) should be used instead. @param length String for parsing @param percentBaseValue the value on which percent length is based on @param defaultValue default value if length is not recognized @param context current SvgDrawContext @return absolute value in points


Class ClipPathSvgNodeRenderer

This renderer represents a collection of elements (simple shapes and paths). The elements are not drawn visibly, but the union of their shapes will be used to only show the parts of the drawn objects that fall within the clipping path.

In PDF, the clipping path operators use the intersection of all its elements, not the union (as in SVG); thus, we need to draw the clipped elements multiple times if the clipping path consists of multiple elements.


Class EllipseSvgNodeRenderer, boolean setParameters()

Fetches a map of String values by calling getAttribute(String s) method and maps it's values to arc parameter cx, cy , rx, ry respectively respectively

This method is deprecated in favour of EllipseSvgNodeRenderer.setParameters(SvgDrawContext), because x/y/rx/ry can contain relative values which can't be resolved without SvgDrawContext. @return boolean values to indicate whether all values exit or not