public class AbstractFOPImageElementBridge.LoaderImageNode
extends org.apache.batik.gvt.AbstractGraphicsNode
Modifier and Type | Field and Description |
---|---|
protected org.apache.batik.bridge.BridgeContext |
ctx
bridge context
|
protected org.apache.xmlgraphics.image.loader.Image |
image
image
|
protected Element |
imageElement
image element
|
protected org.apache.batik.gvt.GraphicsNode |
origGraphicsNode
original graphics mode
|
protected org.apache.batik.util.ParsedURL |
purl
parsed url
|
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
Rectangle2D |
getGeometryBounds() |
Shape |
getOutline() |
Rectangle2D |
getPrimitiveBounds() |
Rectangle2D |
getSensitiveBounds() |
void |
primitivePaint(Graphics2D g2d) |
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
protected final org.apache.xmlgraphics.image.loader.Image image
protected final org.apache.batik.bridge.BridgeContext ctx
protected final Element imageElement
protected final org.apache.batik.util.ParsedURL purl
protected org.apache.batik.gvt.GraphicsNode origGraphicsNode
public LoaderImageNode(org.apache.xmlgraphics.image.loader.Image image, org.apache.batik.bridge.BridgeContext ctx, Element imageElement, org.apache.batik.util.ParsedURL purl)
image
- the JPEG imagectx
- the bridge contextimageElement
- the SVG image elementpurl
- the URL to the imagepublic Shape getOutline()
public void primitivePaint(Graphics2D g2d)
public Rectangle2D getGeometryBounds()
public Rectangle2D getPrimitiveBounds()
public Rectangle2D getSensitiveBounds()
Copyright © 2025 Apache Software Foundation. All rights reserved.