Package org.apache.fop.svg
Class AbstractFOPImageElementBridge.LoaderImageNode
java.lang.Object
org.apache.batik.gvt.AbstractGraphicsNode
org.apache.fop.svg.AbstractFOPImageElementBridge.LoaderImageNode
- All Implemented Interfaces:
org.apache.batik.gvt.GraphicsNode
- Enclosing class:
- AbstractFOPImageElementBridge
public class AbstractFOPImageElementBridge.LoaderImageNode
extends org.apache.batik.gvt.AbstractGraphicsNode
An image node for natively handled Image instance.
This holds a natively handled image so that it can be drawn into
the PDFGraphics2D.
-
Field Summary
Modifier and TypeFieldDescriptionprotected final org.apache.batik.bridge.BridgeContext
bridge contextprotected final org.apache.xmlgraphics.image.loader.Image
imageprotected final Element
image elementprotected org.apache.batik.gvt.GraphicsNode
original graphics modeprotected final org.apache.batik.util.ParsedURL
parsed urlFields inherited from class org.apache.batik.gvt.AbstractGraphicsNode
changeCompletedEvent, changeStartedEvent, clip, composite, enableBackgroundGraphicsNodeRable, filter, graphicsNodeRable, hints, inverseTransform, isVisible, listeners, mask, parent, pointerEventType, root, transform, weakRef
Fields inherited from interface org.apache.batik.gvt.GraphicsNode
ALL, FILL, IDENTITY, NONE, PAINTED, STROKE, VISIBLE, VISIBLE_FILL, VISIBLE_PAINTED, VISIBLE_STROKE
-
Constructor Summary
ConstructorDescriptionLoaderImageNode
(org.apache.xmlgraphics.image.loader.Image image, org.apache.batik.bridge.BridgeContext ctx, Element imageElement, org.apache.batik.util.ParsedURL purl) Create a new image node for drawing natively handled images into PDF graphics. -
Method Summary
Methods inherited from class org.apache.batik.gvt.AbstractGraphicsNode
contains, fireGraphicsNodeChangeCompleted, fireGraphicsNodeChangeStarted, fireGraphicsNodeChangeStarted, fireGraphicsNodeChangeStarted, getBounds, getClip, getComposite, getEnableBackgroundGraphicsNodeRable, getFilter, getGlobalTransform, getGraphicsNodeRable, getInverseTransform, getMask, getParent, getPointerEventType, getRenderingHints, getRoot, getTransform, getTransformedBounds, getTransformedGeometryBounds, getTransformedPrimitiveBounds, getTransformedSensitiveBounds, getWeakReference, intersects, invalidateGeometryCache, isAntialiasedClip, isOffscreenBufferNeeded, isVisible, nodeHitAt, normalizeRectangle, paint, setClip, setComposite, setFilter, setMask, setParent, setPointerEventType, setRenderingHint, setRenderingHints, setRenderingHints, setRoot, setTransform, setVisible
-
Field Details
-
image
protected final org.apache.xmlgraphics.image.loader.Image imageimage -
ctx
protected final org.apache.batik.bridge.BridgeContext ctxbridge context -
imageElement
image element -
purl
protected final org.apache.batik.util.ParsedURL purlparsed url -
origGraphicsNode
protected org.apache.batik.gvt.GraphicsNode origGraphicsNodeoriginal graphics mode
-
-
Constructor Details
-
LoaderImageNode
public LoaderImageNode(org.apache.xmlgraphics.image.loader.Image image, org.apache.batik.bridge.BridgeContext ctx, Element imageElement, org.apache.batik.util.ParsedURL purl) Create a new image node for drawing natively handled images into PDF graphics.- Parameters:
image
- the JPEG imagectx
- the bridge contextimageElement
- the SVG image elementpurl
- the URL to the image
-
-
Method Details
-
getOutline
-
primitivePaint
-
getGeometryBounds
-
getPrimitiveBounds
-
getSensitiveBounds
-