Package | Description |
---|---|
org.freehep.graphics2d |
Base classes for VectorGraphics, useful to implement different output formats.
|
org.freehep.graphicsio |
I/O for different graphics in and output formats.
|
org.freehep.graphicsio.java | |
org.freehep.graphicsio.pdf |
PDF (Portable Document File) Output Format.
|
org.freehep.graphicsio.ps |
PS, EPS (PostScript and Encapsulated PostScript) Output Format.
|
Modifier and Type | Method and Description |
---|---|
TextLayout |
GenericTagHandler.createTextLayout(TagString s,
double superscriptCorrection)
calculates the string bounds using the current font of
GenericTagHandler.graphics . |
abstract void |
VectorGraphics.drawString(TagString str,
double x,
double y) |
void |
AbstractVectorGraphics.drawString(TagString str,
double x,
double y) |
abstract void |
VectorGraphics.drawString(TagString str,
double x,
double y,
int horizontal,
int vertical) |
void |
AbstractVectorGraphics.drawString(TagString str,
double x,
double y,
int horizontal,
int vertical) |
abstract void |
VectorGraphics.drawString(TagString str,
double x,
double y,
int horizontal,
int vertical,
boolean framed,
Color frameColor,
double frameWidth,
boolean banner,
Color bannerColor)
Draws a TagString with a lot of parameters.
|
void |
AbstractVectorGraphics.drawString(TagString str,
double x,
double y,
int horizontal,
int vertical,
boolean framed,
Color frameColor,
double frameWidth,
boolean banner,
Color bannerColor)
Draws the tagged string parsed by a
TagHandler and adds a
border specified by the parameters |
String |
TagHandler.parse(TagString string)
parses string and calls methods for every tag and every not recognized
entity The characters < and > have to be written as < and > while
the & is written as &
The following three methods are called: defaultEntity(entity) for &
< > " ' entity(entity) for all other entities
openTag(tag) for all
|
void |
GenericTagHandler.print(TagString s,
double x,
double y,
double superscriptCorrection)
prints the tagged string at x:y
|
Modifier and Type | Method and Description |
---|---|
void |
MultiPageDocument.setFooter(Font font,
TagString left,
TagString center,
TagString right,
int underlineThickness)
Set the footline of all pages.
|
void |
MultiPageDocument.setHeader(Font font,
TagString left,
TagString center,
TagString right,
int underlineThickness)
Set the headline of all pages.
|
Modifier and Type | Method and Description |
---|---|
void |
JAVAGraphics2D.drawString(TagString str,
double x,
double y) |
void |
JAVAGraphics2D.drawString(TagString str,
double x,
double y,
int horizontal,
int vertical) |
void |
JAVAGraphics2D.drawString(TagString str,
double x,
double y,
int horizontal,
int vertical,
boolean framed,
Color frameColor,
double frameWidth,
boolean banner,
Color bannerColor) |
Modifier and Type | Method and Description |
---|---|
void |
PDFGraphics2D.setFooter(Font font,
TagString left,
TagString center,
TagString right,
int underlineThickness) |
void |
PDFGraphics2D.setHeader(Font font,
TagString left,
TagString center,
TagString right,
int underlineThickness) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractPSGraphics2D.setFooter(Font font,
TagString left,
TagString center,
TagString right,
int underlineThickness) |
void |
AbstractPSGraphics2D.setHeader(Font font,
TagString left,
TagString center,
TagString right,
int underlineThickness) |
Copyright © 2014. All rights reserved.