Package | Description |
---|---|
org.axsl.graphic |
Interfaces allowing client applications to use graphics in a vendor-neutral way.
|
org.axsl.graphic.output |
Helper interfaces useful with specific output formats, usually to assist with embedding graphics in output
documents.
|
Modifier and Type | Method and Description |
---|---|
int |
Graphic.absoluteHeight(int pixelsPerInch)
For image formats that store such information, return the image height,
in millipoints.
|
int |
Graphic.absoluteWidth(int pixelsPerInch)
For image formats that store such information, return the image width,
in millipoints.
|
int |
Graphic.getBitsPerComponent()
Return the number of uncompressed bits per component for this graphic.
|
java.awt.color.ColorSpace |
Graphic.getColorSpace()
Return the image color space: DeviceGray, DeviceRGB, or DeviceCMYK.
|
Graphic.Compression |
Graphic.getCompressionType()
Indicates the type of compression used in this graphic.
|
byte[] |
Graphic.getContent()
Return the uncompressed content of the graphic.
|
int |
Graphic.getContentSize()
Return the graphic content size, in bytes (uncompressed).
|
org.w3c.dom.mathml.MathMLDocument |
MathGraphic.getMathDocument()
Return the encapsulated MathMLDocument.
|
byte[] |
Graphic.getRawSamples()
Return the raw content of the sample portion of the graphic.
|
org.w3c.dom.svg.SVGDocument |
SvgGraphic.getSvgDocument()
Return the encapsulated SVGDocument.
|
java.awt.Color |
Graphic.getTransparentColor()
Return the transparent color, if any.
|
boolean |
Graphic.isTransparent()
Indicates whether this image is transparent.
|
Graphic |
GraphicServer.makeGraphic(java.lang.String href,
java.net.URL[] baseURLs,
boolean cachingThisGraphic)
Factory method to find or create a Graphic instance.
|
org.w3c.dom.mathml.MathMLDocument |
GraphicServer.makeMathDocument()
Factory method to create a new, empty DOM implementation for a MathML
document.
|
MathGraphic |
GraphicServer.makeMathGraphic(org.w3c.dom.mathml.MathMLDocument mathDocument)
Factory method to find or create a
MathGraphic instance from an
already-parsed MathMLDocument . |
org.w3c.dom.svg.SVGDocument |
GraphicServer.makeSvgDocument()
Factory method to create a new, empty DOM implementation for an SVG
document.
|
SvgGraphic |
GraphicServer.makeSvgGraphic(org.w3c.dom.svg.SVGDocument svgDocument)
Factory method to find or create an
SvgGraphic instance from an
already-parsed SVGDocument . |
int |
Graphic.pixelHeight()
Return the image height, in pixels, if available.
|
int |
Graphic.pixelWidth()
Return the image width, in pixels, if available.
|
Modifier and Type | Method and Description |
---|---|
void |
GraphicJava2d.drawGraphic(java.awt.Graphics2D graphics,
java.awt.geom.Rectangle2D.Float contentRectangle)
Draws the graphic in a Graphics2D instance.
|
void |
GraphicPdf.drawVectorContent(java.io.OutputStream output,
GraphicOutputContext outputContext,
FontConsumer fontConsumer,
boolean strokeText,
boolean commentsEnabled)
Places the graphic content into an output stream in PDF format.
|
void |
GraphicPs.drawVectorContent(java.io.OutputStream output,
GraphicOutputContext outputContext,
FontConsumer fontConsumer,
boolean strokeText,
boolean commentsEnabled)
Places the graphic content into an output stream in PostScript format.
|
This documentation was created 2017-01-24 at 21:26 GMT by The aXSL Group and may be freely copied. See license for details.