Package com.itextpdf.svg.renderers.impl
Class MaskSvgNodeRenderer
java.lang.Object
com.itextpdf.svg.renderers.impl.AbstractSvgNodeRenderer
com.itextpdf.svg.renderers.impl.AbstractBranchSvgNodeRenderer
com.itextpdf.svg.renderers.impl.MaskSvgNodeRenderer
- All Implemented Interfaces:
-
IBranchSvgNodeRenderer,INoDrawSvgNodeRenderer,ISvgNodeRenderer
public class MaskSvgNodeRenderer extends AbstractBranchSvgNodeRenderer implements INoDrawSvgNodeRenderer
Renderer for the
tag.
-
Field Summary
Fields inherited from class com.itextpdf.svg.renderers.impl.AbstractBranchSvgNodeRenderer
VIEWBOX_VALUES_NUMBERFields inherited from class com.itextpdf.svg.renderers.impl.AbstractSvgNodeRenderer
attributesAndStyles -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a deep copy of this renderer, including it's subtree of childrenprotected voiddoDraw(SvgDrawContext context) Mask elements are not rendered directly onto the current canvas.getObjectBoundingBox(SvgDrawContext context) Mask renderers do not represent drawable graphics by themselves, so they have no own object bounding box.Methods inherited from class com.itextpdf.svg.renderers.impl.AbstractBranchSvgNodeRenderer
addChild, deepCopyChildren, getChildrenMethods inherited from class com.itextpdf.svg.renderers.impl.AbstractSvgNodeRenderer
canConstructViewPort, canElementFill, deepCopyAttributesAndStyles, draw, getAttribute, getAttributeMapCopy, getAttributeOrDefault, getCurrentFontSize, getCurrentFontSize, getCurrentViewBox, getParent, isHidden, parseAbsoluteLength, parseHorizontalLength, parseVerticalLength, setAttribute, setAttributesAndStyles, setParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.itextpdf.svg.renderers.IBranchSvgNodeRenderer
addChild, getChildrenMethods inherited from interface com.itextpdf.svg.renderers.ISvgNodeRenderer
draw, getAttribute, getAttributeMapCopy, getParent, setAttribute, setAttributesAndStyles, setParent
-
Constructor Details
-
MaskSvgNodeRenderer
public MaskSvgNodeRenderer()Creates a newMaskSvgNodeRendererinstance.
-
-
Method Details
-
createDeepCopy
Creates a deep copy of this renderer, including it's subtree of children- Specified by:
-
createDeepCopyin interfaceISvgNodeRenderer - Specified by:
-
createDeepCopyin classAbstractBranchSvgNodeRenderer - Returns:
- deep copy of this renderer
-
getObjectBoundingBox
Mask renderers do not represent drawable graphics by themselves, so they have no own object bounding box.- Specified by:
-
getObjectBoundingBoxin interfaceISvgNodeRenderer - Parameters:
-
context- current draw context - Returns:
-
nullalways
-
doDraw
Mask elements are not rendered directly onto the current canvas. They are applied throughdrawMaskedObject(AbstractSvgNodeRenderer, SvgDrawContext, String).- Overrides:
-
doDrawin classAbstractBranchSvgNodeRenderer - Parameters:
-
context- current draw context - Throws:
-
UnsupportedOperationException- always, becauseis a no-draw renderer
-