?? graph.textline.html
字號(hào):
<a name="getColor"><b>getColor</b></a><pre> public <a href="java.awt.Color.html#_top_">Color</a> getColor()</pre><dl> <dl> <dt> <b>Returns:</b> <dd> the Color the class is using. </dl></dl><a name="getBackground()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getBackground"><b>getBackground</b></a><pre> public <a href="java.awt.Color.html#_top_">Color</a> getBackground()</pre><dl> <dl> <dt> <b>Returns:</b> <dd> the Background Color the class is using. </dl></dl><a name="getJustification()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getJustification"><b>getJustification</b></a><pre> public int getJustification()</pre><dl> <dl> <dt> <b>Returns:</b> <dd> the Justification the class is using. </dl></dl><a name="getFM(java.awt.Graphics)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getFM"><b>getFM</b></a><pre> public <a href="java.awt.FontMetrics.html#_top_">FontMetrics</a> getFM(<a href="java.awt.Graphics.html#_top_">Graphics</a> g)</pre><dl> <dl> <dt> <b>Parameters:</b> <dd> g - Graphics context. <dt> <b>Returns:</b> <dd> the Fontmetrics the class is using. </dl></dl><a name="charWidth(java.awt.Graphics, char)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="charWidth"><b>charWidth</b></a><pre> public int charWidth(<a href="java.awt.Graphics.html#_top_">Graphics</a> g, char ch)</pre><dl> <dl> <dt> <b>Parameters:</b> <dd> g - Graphics context. <dd> ch - The character. <dt> <b>Returns:</b> <dd> the width of the character. </dl></dl><a name="getWidth(java.awt.Graphics)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getWidth"><b>getWidth</b></a><pre> public int getWidth(<a href="java.awt.Graphics.html#_top_">Graphics</a> g)</pre><dl> <dl> <dt> <b>Parameters:</b> <dd> g - Graphics context. <dt> <b>Returns:</b> <dd> the width of the parsed text. </dl></dl><a name="getHeight(java.awt.Graphics)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getHeight"><b>getHeight</b></a><pre> public int getHeight(<a href="java.awt.Graphics.html#_top_">Graphics</a> g)</pre><dl> <dl> <dt> <b>Parameters:</b> <dd> g - Graphics context. <dt> <b>Returns:</b> <dd> the height of the parsed text. </dl></dl><a name="getAscent(java.awt.Graphics)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getAscent"><b>getAscent</b></a><pre> public int getAscent(<a href="java.awt.Graphics.html#_top_">Graphics</a> g)</pre><dl> <dl> <dt> <b>Parameters:</b> <dd> g - Graphics context. <dt> <b>Returns:</b> <dd> the ascent of the parsed text. </dl></dl><a name="getMaxAscent(java.awt.Graphics)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getMaxAscent"><b>getMaxAscent</b></a><pre> public int getMaxAscent(<a href="java.awt.Graphics.html#_top_">Graphics</a> g)</pre><dl> <dl> <dt> <b>Parameters:</b> <dd> g - Graphics context. <dt> <b>Returns:</b> <dd> the maximum ascent of the parsed text. </dl></dl><a name="getDescent(java.awt.Graphics)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getDescent"><b>getDescent</b></a><pre> public int getDescent(<a href="java.awt.Graphics.html#_top_">Graphics</a> g)</pre><dl> <dl> <dt> <b>Parameters:</b> <dd> g - Graphics context. <dt> <b>Returns:</b> <dd> the descent of the parsed text. </dl></dl><a name="getMaxDescent(java.awt.Graphics)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getMaxDescent"><b>getMaxDescent</b></a><pre> public int getMaxDescent(<a href="java.awt.Graphics.html#_top_">Graphics</a> g)</pre><dl> <dl> <dt> <b>Parameters:</b> <dd> g - Graphics context. <dt> <b>Returns:</b> <dd> the maximum descent of the parsed text. </dl></dl><a name="getLeading(java.awt.Graphics)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getLeading"><b>getLeading</b></a><pre> public int getLeading(<a href="java.awt.Graphics.html#_top_">Graphics</a> g)</pre><dl> <dl> <dt> <b>Parameters:</b> <dd> g - Graphics context. <dt> <b>Returns:</b> <dd> the leading of the parsed text. </dl></dl><a name="parseText(java.awt.Graphics)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="parseText"><b>parseText</b></a><pre> public void parseText(<a href="java.awt.Graphics.html#_top_">Graphics</a> g)</pre><dl> <dd> parse the text. When the text is parsed the width, height, leadingare all calculated. The text will only be truly parsed ifthe graphics context has changed or the text has changed orthe font has changed. Otherwise nothing is done when thismethod is called. <dl> <dt> <b>Parameters:</b> <dd> g - Graphics context. </dl></dl><a name="isNull()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="isNull"><b>isNull</b></a><pre> public boolean isNull()</pre><dl> <dl> <dt> <b>Returns:</b> <dd> true if the text has never been set or is null </dl></dl><a name="draw(java.awt.Graphics, int, int, int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="draw"><b>draw</b></a><pre> public void draw(<a href="java.awt.Graphics.html#_top_">Graphics</a> g, int x, int y, int j)</pre><dl> <dd> Parse the text then draw it. <dl> <dt> <b>Parameters:</b> <dd> g - Graphics context <dd> x - pixel position of the text <dd> y - pixel position of the text <dd> j - justification of the text </dl></dl><a name="draw(java.awt.Graphics, int, int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="draw"><b>draw</b></a><pre> public void draw(<a href="java.awt.Graphics.html#_top_">Graphics</a> g, int x, int y)</pre><dl> <dd> Parse the text then draw it without any rotation. <dl> <dt> <b>Parameters:</b> <dd> g - Graphics context <dd> x - pixel position of the text <dd> y - pixel position of the text </dl></dl><a name="getFontName()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getFontName"><b>getFontName</b></a><pre> public <a href="java.lang.String.html#_top_">String</a> getFontName()</pre><dl> <dl> <dt> <b>Returns:</b> <dd> Logical font name of the set font </dl></dl><a name="getFontStyle()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getFontStyle"><b>getFontStyle</b></a><pre> public int getFontStyle()</pre><dl> <dl> <dt> <b>Returns:</b> <dd> Style of the set font </dl></dl><a name="getFontSize()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getFontSize"><b>getFontSize</b></a><pre> public int getFontSize()</pre><dl> <dl> <dt> <b>Returns:</b> <dd> Size of the set font </dl></dl><a name="setFontName(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setFontName"><b>setFontName</b></a><pre> public void setFontName(<a href="java.lang.String.html#_top_">String</a> s)</pre><dl> <dd> Set the Logical font name of the current font <dl> <dt> <b>Parameters:</b> <dd> s - Logical font name. </dl></dl><a name="setFontStyle(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setFontStyle"><b>setFontStyle</b></a><pre> public void setFontStyle(int i)</pre><dl> <dd> Set the Font style of the current font <dl> <dt> <b>Parameters:</b> <dd> i - Font style. </dl></dl><a name="setFontSize(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="setFontSize"><b>setFontSize</b></a><pre> public void setFontSize(int i)</pre><dl> <dd> Set the Font size of the current font <dl> <dt> <b>Parameters:</b> <dd> i - Font size. </dl></dl><a name="getScriptFont(java.awt.Font)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getScriptFont"><b>getScriptFont</b></a><pre> public <a href="java.awt.Font.html#_top_">Font</a> getScriptFont(<a href="java.awt.Font.html#_top_">Font</a> f)</pre><dl> <dl> <dt> <b>Parameters:</b> <dd> f - Font <dt> <b>Returns:</b> <dd> The script font version of the parsed font using the script_fraction variable. </dl></dl><a name="parseDouble(double)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="parseDouble"><b>parseDouble</b></a><pre> public boolean parseDouble(double d)</pre><dl> <dd> Parse a double value. Precision is 6 figures, with 7 significantfigures. <dl> <dt> <b>Parameters:</b> <dd> d - double to parsereturn <i>true</i> if the parse was successful </dl></dl><a name="parseDouble(double, int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="parseDouble"><b>parseDouble</b></a><pre> public boolean parseDouble(double d, int p)</pre><dl> <dd> Parse a double value. Number of significant figures is 1 greater thanthe precision. <dl> <dt> <b>Parameters:</b> <dd> d - double to parse <dd> p - precision of the numberreturn <i>true</i> if the parse was successful </dl></dl><a name="parseDouble(double, int, int, int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="parseDouble"><b>parseDouble</b></a><pre> public boolean parseDouble(double d, int n, int p, int f)</pre><dl> <dd> Parse a double value <dl> <dt> <b>Parameters:</b> <dd> d - double to parse <dd> n - number of significant figures <dd> p - precision of the number <dd> f - format of the number scientific, algebraic etc.return <i>true</i> if the parse was successful </dl></dl><hr><pre><a href="packages.html">All Packages</a> <a href="tree.html">Class Hierarchy</a> <a href="Package-graph.html">This Package</a> <a href="graph.SpecialFunction.html#_top_">Previous</a> <a href="graph.VectorSet.html#_top_">Next</a> <a href="AllNames.html">Index</a></pre></body></html>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -