blob: 2b9567e97b2fa310dd1d6d58cccfae10fb94d9d0 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
TextPainter (Apache Batik Javadoc)
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="TextPainter (Apache Batik Javadoc)";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TextPainter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/apache/batik/bridge/TextNode.Anchor.html" title="class in org.apache.batik.bridge"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/apache/batik/bridge/TextSpanLayout.html" title="interface in org.apache.batik.bridge"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/apache/batik/bridge/TextPainter.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="TextPainter.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.batik.bridge</FONT>
<BR>
Interface TextPainter</H2>
<DL>
<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../org/apache/batik/bridge/BasicTextPainter.html" title="class in org.apache.batik.bridge">BasicTextPainter</A>, <A HREF="../../../../org/apache/batik/bridge/ConcreteTextPainter.html" title="class in org.apache.batik.bridge">ConcreteTextPainter</A>, <A HREF="../../../../org/apache/batik/extension/svg/FlowExtTextPainter.html" title="class in org.apache.batik.extension.svg">FlowExtTextPainter</A>, <A HREF="../../../../org/apache/batik/bridge/FlowTextPainter.html" title="class in org.apache.batik.bridge">FlowTextPainter</A>, <A HREF="../../../../org/apache/batik/bridge/StrokingTextPainter.html" title="class in org.apache.batik.bridge">StrokingTextPainter</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public interface <B>TextPainter</B></DL>
</PRE>
<P>
Renders the attributed character iterator of a <code>TextNode</code>.
<P>
<P>
<HR>
<P>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/geom/Rectangle2D.html?is-external=true" title="class or interface in java.awt.geom">Rectangle2D</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/batik/bridge/TextPainter.html#getBounds2D(org.apache.batik.bridge.TextNode)">getBounds2D</A></B>(<A HREF="../../../../org/apache/batik/bridge/TextNode.html" title="class in org.apache.batik.bridge">TextNode</A>&nbsp;node)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a Rectangle2D in userspace coords which encloses the textnode
glyphs rendered bounds (includes stroke etc).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/geom/Rectangle2D.html?is-external=true" title="class or interface in java.awt.geom">Rectangle2D</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/batik/bridge/TextPainter.html#getGeometryBounds(org.apache.batik.bridge.TextNode)">getGeometryBounds</A></B>(<A HREF="../../../../org/apache/batik/bridge/TextNode.html" title="class in org.apache.batik.bridge">TextNode</A>&nbsp;node)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a Rectangle2D in userspace coords which encloses the textnode
glyphs just including the geometry info.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Shape.html?is-external=true" title="class or interface in java.awt">Shape</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/batik/bridge/TextPainter.html#getHighlightShape(org.apache.batik.bridge.Mark, org.apache.batik.bridge.Mark)">getHighlightShape</A></B>(<A HREF="../../../../org/apache/batik/bridge/Mark.html" title="interface in org.apache.batik.bridge">Mark</A>&nbsp;beginMark,
<A HREF="../../../../org/apache/batik/bridge/Mark.html" title="interface in org.apache.batik.bridge">Mark</A>&nbsp;endMark)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a Shape in userspace coords which encloses the textnode
glyphs bounded by two Marks.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/apache/batik/bridge/Mark.html" title="interface in org.apache.batik.bridge">Mark</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/batik/bridge/TextPainter.html#getMark(org.apache.batik.bridge.TextNode, int, boolean)">getMark</A></B>(<A HREF="../../../../org/apache/batik/bridge/TextNode.html" title="class in org.apache.batik.bridge">TextNode</A>&nbsp;node,
int&nbsp;index,
boolean&nbsp;beforeGlyph)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a mark for the char at index in node's
AttributedCharacterIterator.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Shape.html?is-external=true" title="class or interface in java.awt">Shape</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/batik/bridge/TextPainter.html#getOutline(org.apache.batik.bridge.TextNode)">getOutline</A></B>(<A HREF="../../../../org/apache/batik/bridge/TextNode.html" title="class in org.apache.batik.bridge">TextNode</A>&nbsp;node)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a Shape in userspace coords which defines the textnode
glyph outlines.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/batik/bridge/TextPainter.html#getSelected(org.apache.batik.bridge.Mark, org.apache.batik.bridge.Mark)">getSelected</A></B>(<A HREF="../../../../org/apache/batik/bridge/Mark.html" title="interface in org.apache.batik.bridge">Mark</A>&nbsp;start,
<A HREF="../../../../org/apache/batik/bridge/Mark.html" title="interface in org.apache.batik.bridge">Mark</A>&nbsp;finish)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get an array of index pairs corresponding to the indices within an
AttributedCharacterIterator regions bounded by two Marks.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/batik/bridge/TextPainter.html#paint(org.apache.batik.bridge.TextNode, java.awt.Graphics2D)">paint</A></B>(<A HREF="../../../../org/apache/batik/bridge/TextNode.html" title="class in org.apache.batik.bridge">TextNode</A>&nbsp;node,
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Graphics2D.html?is-external=true" title="class or interface in java.awt">Graphics2D</A>&nbsp;g2d)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Paints the specified attributed character iterator using the specified
Graphics2D and context and font context.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/apache/batik/bridge/Mark.html" title="interface in org.apache.batik.bridge">Mark</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/batik/bridge/TextPainter.html#selectAt(double, double, org.apache.batik.bridge.TextNode)">selectAt</A></B>(double&nbsp;x,
double&nbsp;y,
<A HREF="../../../../org/apache/batik/bridge/TextNode.html" title="class in org.apache.batik.bridge">TextNode</A>&nbsp;node)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initiates a text selection on a particular AttributedCharacterIterator,
using the text/font metrics employed by this TextPainter instance.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/apache/batik/bridge/Mark.html" title="interface in org.apache.batik.bridge">Mark</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/batik/bridge/TextPainter.html#selectFirst(org.apache.batik.bridge.TextNode)">selectFirst</A></B>(<A HREF="../../../../org/apache/batik/bridge/TextNode.html" title="class in org.apache.batik.bridge">TextNode</A>&nbsp;node)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Selects the first glyph in the text node.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/apache/batik/bridge/Mark.html" title="interface in org.apache.batik.bridge">Mark</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/batik/bridge/TextPainter.html#selectLast(org.apache.batik.bridge.TextNode)">selectLast</A></B>(<A HREF="../../../../org/apache/batik/bridge/TextNode.html" title="class in org.apache.batik.bridge">TextNode</A>&nbsp;node)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Selects the last glyph in the text node.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/apache/batik/bridge/Mark.html" title="interface in org.apache.batik.bridge">Mark</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/batik/bridge/TextPainter.html#selectTo(double, double, org.apache.batik.bridge.Mark)">selectTo</A></B>(double&nbsp;x,
double&nbsp;y,
<A HREF="../../../../org/apache/batik/bridge/Mark.html" title="interface in org.apache.batik.bridge">Mark</A>&nbsp;beginMark)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Continues a text selection on a particular AttributedCharacterIterator,
using the text/font metrics employed by this TextPainter instance.</TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="paint(org.apache.batik.bridge.TextNode, java.awt.Graphics2D)"><!-- --></A><H3>
paint</H3>
<PRE>
void <B>paint</B>(<A HREF="../../../../org/apache/batik/bridge/TextNode.html" title="class in org.apache.batik.bridge">TextNode</A>&nbsp;node,
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Graphics2D.html?is-external=true" title="class or interface in java.awt">Graphics2D</A>&nbsp;g2d)</PRE>
<DL>
<DD>Paints the specified attributed character iterator using the specified
Graphics2D and context and font context.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>node</CODE> - the TextNode to paint<DD><CODE>g2d</CODE> - the Graphics2D to use</DL>
</DD>
</DL>
<HR>
<A NAME="selectAt(double, double, org.apache.batik.bridge.TextNode)"><!-- --></A><H3>
selectAt</H3>
<PRE>
<A HREF="../../../../org/apache/batik/bridge/Mark.html" title="interface in org.apache.batik.bridge">Mark</A> <B>selectAt</B>(double&nbsp;x,
double&nbsp;y,
<A HREF="../../../../org/apache/batik/bridge/TextNode.html" title="class in org.apache.batik.bridge">TextNode</A>&nbsp;node)</PRE>
<DL>
<DD>Initiates a text selection on a particular AttributedCharacterIterator,
using the text/font metrics employed by this TextPainter instance.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="selectTo(double, double, org.apache.batik.bridge.Mark)"><!-- --></A><H3>
selectTo</H3>
<PRE>
<A HREF="../../../../org/apache/batik/bridge/Mark.html" title="interface in org.apache.batik.bridge">Mark</A> <B>selectTo</B>(double&nbsp;x,
double&nbsp;y,
<A HREF="../../../../org/apache/batik/bridge/Mark.html" title="interface in org.apache.batik.bridge">Mark</A>&nbsp;beginMark)</PRE>
<DL>
<DD>Continues a text selection on a particular AttributedCharacterIterator,
using the text/font metrics employed by this TextPainter instance.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="selectFirst(org.apache.batik.bridge.TextNode)"><!-- --></A><H3>
selectFirst</H3>
<PRE>
<A HREF="../../../../org/apache/batik/bridge/Mark.html" title="interface in org.apache.batik.bridge">Mark</A> <B>selectFirst</B>(<A HREF="../../../../org/apache/batik/bridge/TextNode.html" title="class in org.apache.batik.bridge">TextNode</A>&nbsp;node)</PRE>
<DL>
<DD>Selects the first glyph in the text node.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="selectLast(org.apache.batik.bridge.TextNode)"><!-- --></A><H3>
selectLast</H3>
<PRE>
<A HREF="../../../../org/apache/batik/bridge/Mark.html" title="interface in org.apache.batik.bridge">Mark</A> <B>selectLast</B>(<A HREF="../../../../org/apache/batik/bridge/TextNode.html" title="class in org.apache.batik.bridge">TextNode</A>&nbsp;node)</PRE>
<DL>
<DD>Selects the last glyph in the text node.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getMark(org.apache.batik.bridge.TextNode, int, boolean)"><!-- --></A><H3>
getMark</H3>
<PRE>
<A HREF="../../../../org/apache/batik/bridge/Mark.html" title="interface in org.apache.batik.bridge">Mark</A> <B>getMark</B>(<A HREF="../../../../org/apache/batik/bridge/TextNode.html" title="class in org.apache.batik.bridge">TextNode</A>&nbsp;node,
int&nbsp;index,
boolean&nbsp;beforeGlyph)</PRE>
<DL>
<DD>Returns a mark for the char at index in node's
AttributedCharacterIterator. Leading edge indicates if the
mark should be considered immediately 'before' glyph or
after
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getSelected(org.apache.batik.bridge.Mark, org.apache.batik.bridge.Mark)"><!-- --></A><H3>
getSelected</H3>
<PRE>
int[] <B>getSelected</B>(<A HREF="../../../../org/apache/batik/bridge/Mark.html" title="interface in org.apache.batik.bridge">Mark</A>&nbsp;start,
<A HREF="../../../../org/apache/batik/bridge/Mark.html" title="interface in org.apache.batik.bridge">Mark</A>&nbsp;finish)</PRE>
<DL>
<DD>Get an array of index pairs corresponding to the indices within an
AttributedCharacterIterator regions bounded by two Marks.
Note that the instances of Mark passed to this function <em>must
come</em> from the same TextPainter that generated them via selectAt()
and selectTo(), since the TextPainter implementation may rely on hidden
implementation details of its own Mark implementation.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getHighlightShape(org.apache.batik.bridge.Mark, org.apache.batik.bridge.Mark)"><!-- --></A><H3>
getHighlightShape</H3>
<PRE>
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Shape.html?is-external=true" title="class or interface in java.awt">Shape</A> <B>getHighlightShape</B>(<A HREF="../../../../org/apache/batik/bridge/Mark.html" title="interface in org.apache.batik.bridge">Mark</A>&nbsp;beginMark,
<A HREF="../../../../org/apache/batik/bridge/Mark.html" title="interface in org.apache.batik.bridge">Mark</A>&nbsp;endMark)</PRE>
<DL>
<DD>Get a Shape in userspace coords which encloses the textnode
glyphs bounded by two Marks.
Note that the instances of Mark passed to this function
<em>must come</em>
from the same TextPainter that generated them via selectAt() and
selectTo(), since the TextPainter implementation may rely on hidden
implementation details of its own Mark implementation.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getOutline(org.apache.batik.bridge.TextNode)"><!-- --></A><H3>
getOutline</H3>
<PRE>
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/Shape.html?is-external=true" title="class or interface in java.awt">Shape</A> <B>getOutline</B>(<A HREF="../../../../org/apache/batik/bridge/TextNode.html" title="class in org.apache.batik.bridge">TextNode</A>&nbsp;node)</PRE>
<DL>
<DD>Get a Shape in userspace coords which defines the textnode
glyph outlines.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>node</CODE> - the TextNode to measure</DL>
</DD>
</DL>
<HR>
<A NAME="getBounds2D(org.apache.batik.bridge.TextNode)"><!-- --></A><H3>
getBounds2D</H3>
<PRE>
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/geom/Rectangle2D.html?is-external=true" title="class or interface in java.awt.geom">Rectangle2D</A> <B>getBounds2D</B>(<A HREF="../../../../org/apache/batik/bridge/TextNode.html" title="class in org.apache.batik.bridge">TextNode</A>&nbsp;node)</PRE>
<DL>
<DD>Get a Rectangle2D in userspace coords which encloses the textnode
glyphs rendered bounds (includes stroke etc).
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>node</CODE> - the TextNode to measure</DL>
</DD>
</DL>
<HR>
<A NAME="getGeometryBounds(org.apache.batik.bridge.TextNode)"><!-- --></A><H3>
getGeometryBounds</H3>
<PRE>
<A HREF="http://docs.oracle.com/javase/6/docs/api/java/awt/geom/Rectangle2D.html?is-external=true" title="class or interface in java.awt.geom">Rectangle2D</A> <B>getGeometryBounds</B>(<A HREF="../../../../org/apache/batik/bridge/TextNode.html" title="class in org.apache.batik.bridge">TextNode</A>&nbsp;node)</PRE>
<DL>
<DD>Get a Rectangle2D in userspace coords which encloses the textnode
glyphs just including the geometry info.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>node</CODE> - the TextNode to measure</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TextPainter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/apache/batik/bridge/TextNode.Anchor.html" title="class in org.apache.batik.bridge"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/apache/batik/bridge/TextSpanLayout.html" title="interface in org.apache.batik.bridge"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/apache/batik/bridge/TextPainter.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="TextPainter.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
Copyright © 2017 <a href='http://www.apache.org/'>Apache Software Foundation</a>. All Rights Reserved.
</BODY>
</HTML>