org.apache.fop.svg
Class PDFImageElementBridge.LoaderImageNode
AbstractGraphicsNode
org.apache.fop.svg.PDFImageElementBridge.LoaderImageNode
- PDFImageElementBridge
public class PDFImageElementBridge.LoaderImageNode
extends AbstractGraphicsNode
An image node for natively handled Image instance.
This holds a natively handled image so that it can be drawn into
the PDFGraphics2D.
LoaderImageNode(Image image, BridgeContext ctx, Element imageElement, ParsedURL purl) - Create a new image node for drawing natively handled images
into PDF graphics.
|
LoaderImageNode
public LoaderImageNode(Image image,
BridgeContext ctx,
Element imageElement,
ParsedURL purl)
Create a new image node for drawing natively handled images
into PDF graphics.
image
- the JPEG imagectx
- the bridge contextimageElement
- the SVG image elementpurl
- the URL to the image
getGeometryBounds
public Rectangle2D getGeometryBounds()
getOutline
public Shape getOutline()
getPrimitiveBounds
public Rectangle2D getPrimitiveBounds()
getSensitiveBounds
public Rectangle2D getSensitiveBounds()
primitivePaint
public void primitivePaint(Graphics2D g2d)
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.