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 org.w3c.dom.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,
org.w3c.dom.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 |
---|---|
java.awt.geom.Rectangle2D |
getGeometryBounds() |
java.awt.Shape |
getOutline() |
java.awt.geom.Rectangle2D |
getPrimitiveBounds() |
java.awt.geom.Rectangle2D |
getSensitiveBounds() |
void |
primitivePaint(java.awt.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 org.w3c.dom.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, org.w3c.dom.Element imageElement, org.apache.batik.util.ParsedURL purl)
image
- the JPEG imagectx
- the bridge contextimageElement
- the SVG image elementpurl
- the URL to the imagepublic java.awt.Shape getOutline()
public void primitivePaint(java.awt.Graphics2D g2d)
public java.awt.geom.Rectangle2D getGeometryBounds()
public java.awt.geom.Rectangle2D getPrimitiveBounds()
public java.awt.geom.Rectangle2D getSensitiveBounds()
Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.