|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.cuni.jagrlib.iface.TextRender.TextExtent
public static class TextRender.TextExtent
Support class for holding text extents.
Every string output can be placed into bounding rectangle.
Reference point is a point at the base-line which defines start of each text drawing (starting reference point). After drawing is done, consecutive text should start at the finishing reference point of the first output.
Entent rectangle is defined in baseline-based coordinate system (text drawing direction
is ignored). Other data are in device coordinates (x0
,
y0
, x1
and y1
).
TextRender.textPath(java.lang.String)
,
TextRender.drawText(double, double, java.lang.String, cz.cuni.jagrlib.iface.TextRender.TextExtent)
,
TextRender.textExtent(double, double, java.lang.String, cz.cuni.jagrlib.iface.TextRender.TextExtent)
,
TextRender.getKern(char, char, cz.cuni.jagrlib.iface.TextRender.TextExtent)
,
VCommand.TextPath
,
VCommand.DrawText
Field Summary | |
---|---|
double |
lrx
X coordinate of lower-right extent corner (baseline coordinates). |
double |
lry
Y coordinate of lower-right extent corner (baseline coordinates). |
double |
ulx
X coordinate of upper-left extent corner (baseline coordinates). |
double |
uly
Y coordinate of upper-left extent corner (baseline coordinates). |
double |
x0
X coordinate of starting reference point (device coordinates). |
double |
x1
X coordinate of finishing reference point (device coordinates). |
double |
y0
Y coordinate of starting reference point (device coordinates). |
double |
y1
Y coordinate of finishing reference point (device coordinates). |
Constructor Summary | |
---|---|
TextRender.TextExtent()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public double x0
public double y0
public double x1
public double y1
public double ulx
public double uly
public double lrx
public double lry
Constructor Detail |
---|
public TextRender.TextExtent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |