public class PSImageUtils
extends org.apache.xmlgraphics.ps.PSImageUtils
Constructor and Description |
---|
PSImageUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
drawForm(org.apache.xmlgraphics.ps.PSResource form,
org.apache.xmlgraphics.image.loader.ImageInfo info,
Rectangle rect,
org.apache.xmlgraphics.ps.PSGenerator generator)
Draws a form at a given location.
|
static boolean |
isImageInlined(org.apache.xmlgraphics.image.loader.ImageInfo info,
PSRenderingContext renderingContext)
Indicates whether the given image (identified by an
ImageInfo object) shall be
inlined rather than generated as a PostScript form. |
public static boolean isImageInlined(org.apache.xmlgraphics.image.loader.ImageInfo info, PSRenderingContext renderingContext)
ImageInfo
object) shall be
inlined rather than generated as a PostScript form.info
- the info object for the imagerenderingContext
- the rendering contextpublic static void drawForm(org.apache.xmlgraphics.ps.PSResource form, org.apache.xmlgraphics.image.loader.ImageInfo info, Rectangle rect, org.apache.xmlgraphics.ps.PSGenerator generator) throws IOException
form
- the form resourceinfo
- the image info object representing the image in the formrect
- the target rectangle (coordinates in millipoints)generator
- the PostScript generatorIOException
- if an I/O error occursCopyright © 2025 Apache Software Foundation. All rights reserved.