| <!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> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TextPainter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../org/apache/batik/bridge/TextNode.Anchor.html" title="class in org.apache.batik.bridge"><B>PREV CLASS</B></A> |
| <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> |
| <A HREF="TextPainter.html" target="_top"><B>NO FRAMES</B></A> |
| <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: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: FIELD | CONSTR | <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> <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> node)</CODE> |
| |
| <BR> |
| 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> <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> node)</CODE> |
| |
| <BR> |
| 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> <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> beginMark, |
| <A HREF="../../../../org/apache/batik/bridge/Mark.html" title="interface in org.apache.batik.bridge">Mark</A> endMark)</CODE> |
| |
| <BR> |
| 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> <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> node, |
| int index, |
| boolean beforeGlyph)</CODE> |
| |
| <BR> |
| 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> <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> node)</CODE> |
| |
| <BR> |
| 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> 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> start, |
| <A HREF="../../../../org/apache/batik/bridge/Mark.html" title="interface in org.apache.batik.bridge">Mark</A> finish)</CODE> |
| |
| <BR> |
| 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> 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> 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> g2d)</CODE> |
| |
| <BR> |
| 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> <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 x, |
| double y, |
| <A HREF="../../../../org/apache/batik/bridge/TextNode.html" title="class in org.apache.batik.bridge">TextNode</A> node)</CODE> |
| |
| <BR> |
| 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> <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> node)</CODE> |
| |
| <BR> |
| 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> <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> node)</CODE> |
| |
| <BR> |
| 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> <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 x, |
| double y, |
| <A HREF="../../../../org/apache/batik/bridge/Mark.html" title="interface in org.apache.batik.bridge">Mark</A> beginMark)</CODE> |
| |
| <BR> |
| Continues a text selection on a particular AttributedCharacterIterator, |
| using the text/font metrics employed by this TextPainter instance.</TD> |
| </TR> |
| </TABLE> |
| |
| <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> 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> 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 x, |
| double y, |
| <A HREF="../../../../org/apache/batik/bridge/TextNode.html" title="class in org.apache.batik.bridge">TextNode</A> 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 x, |
| double y, |
| <A HREF="../../../../org/apache/batik/bridge/Mark.html" title="interface in org.apache.batik.bridge">Mark</A> 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> 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> 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> node, |
| int index, |
| boolean 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> start, |
| <A HREF="../../../../org/apache/batik/bridge/Mark.html" title="interface in org.apache.batik.bridge">Mark</A> 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> beginMark, |
| <A HREF="../../../../org/apache/batik/bridge/Mark.html" title="interface in org.apache.batik.bridge">Mark</A> 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> 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> 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> 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> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TextPainter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../org/apache/batik/bridge/TextNode.Anchor.html" title="class in org.apache.batik.bridge"><B>PREV CLASS</B></A> |
| <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> |
| <A HREF="TextPainter.html" target="_top"><B>NO FRAMES</B></A> |
| <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: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: FIELD | CONSTR | <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> |