Package org.apache.fop.svg
Class PDFANode
java.lang.Object
org.apache.batik.gvt.AbstractGraphicsNode
org.apache.batik.gvt.CompositeGraphicsNode
org.apache.fop.svg.PDFANode
- All Implemented Interfaces:
Iterable,Collection,List,SequencedCollection,org.apache.batik.gvt.GraphicsNode
public class PDFANode
extends org.apache.batik.gvt.CompositeGraphicsNode
A graphics node that represents an image described as a graphics node.
This work was authored by Keiron Liddle (keiron@aftexsw.com).
-
Field Summary
Fields inherited from class org.apache.batik.gvt.CompositeGraphicsNode
backgroundEnableRgn, children, count, modCount, NULL_RECT, VIEWPORTFields inherited from class org.apache.batik.gvt.AbstractGraphicsNode
changeCompletedEvent, changeStartedEvent, clip, composite, enableBackgroundGraphicsNodeRable, filter, graphicsNodeRable, hints, inverseTransform, isVisible, listeners, mask, parent, pointerEventType, root, weakRefFields inherited from interface org.apache.batik.gvt.GraphicsNode
ALL, FILL, IDENTITY, NONE, PAINTED, STROKE, VISIBLE, VISIBLE_FILL, VISIBLE_PAINTED, VISIBLE_STROKE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpaint(Graphics2D g2d) Paints this node if visible.voidsetDestination(String dest) Set the destination String.voidSet the current transform of this node.Methods inherited from class org.apache.batik.gvt.CompositeGraphicsNode
add, add, addAll, addAll, clear, contains, contains, containsAll, ensureCapacity, get, getBackgroundEnable, getChildren, getGeometryBounds, getOutline, getPrimitiveBounds, getSensitiveBounds, getTransformedBBox, getTransformedGeometryBounds, getTransformedPrimitiveBounds, getTransformedSensitiveBounds, indexOf, invalidateGeometryCache, isEmpty, iterator, lastIndexOf, listIterator, listIterator, nodeHitAt, primitivePaint, remove, remove, removeAll, retainAll, set, setBackgroundEnable, setRoot, setVisible, size, subList, toArray, toArrayMethods inherited from class org.apache.batik.gvt.AbstractGraphicsNode
fireGraphicsNodeChangeCompleted, fireGraphicsNodeChangeStarted, fireGraphicsNodeChangeStarted, fireGraphicsNodeChangeStarted, getBounds, getClip, getComposite, getEnableBackgroundGraphicsNodeRable, getFilter, getGlobalTransform, getGraphicsNodeRable, getInverseTransform, getMask, getParent, getPointerEventType, getRenderingHints, getRoot, getTransform, getTransformedBounds, getWeakReference, intersects, isAntialiasedClip, isOffscreenBufferNeeded, isVisible, normalizeRectangle, setClip, setComposite, setFilter, setMask, setParent, setPointerEventType, setRenderingHint, setRenderingHints, setRenderingHintsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addFirst, addLast, equals, getFirst, getLast, hashCode, removeFirst, removeLast, replaceAll, reversed, sort, spliterator
-
Constructor Details
-
PDFANode
public PDFANode()Constructs a new emptyPDFANode.
-
-
Method Details
-
setDestination
Set the destination String.- Parameters:
dest- the target destination
-
setTransform
Set the current transform of this node.- Specified by:
setTransformin interfaceorg.apache.batik.gvt.GraphicsNode- Overrides:
setTransformin classorg.apache.batik.gvt.AbstractGraphicsNode- Parameters:
tf- the transform
-
paint
Paints this node if visible.- Specified by:
paintin interfaceorg.apache.batik.gvt.GraphicsNode- Overrides:
paintin classorg.apache.batik.gvt.AbstractGraphicsNode- Parameters:
g2d- the Graphics2D to use
-