📄 textstyle2d.html
字号:
<TD><CODE><B><A HREF="../../../../org/geotools/renderer/style/TextStyle2D.html#getPerpendicularOffset()">getPerpendicularOffset</A></B>()</CODE><BR> only valid for a isPointPlacement=false (ie. a lineplacement)</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/renderer/style/TextStyle2D.html#getRotation()">getRotation</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/font/GlyphVector.html" title="class or interface in java.awt.font">GlyphVector</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/renderer/style/TextStyle2D.html#getTextGlyphVector(java.awt.Graphics2D)">getTextGlyphVector</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Graphics2D.html" title="class or interface in java.awt">Graphics2D</A> graphics)</CODE><BR> recompute each time</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/renderer/style/TextStyle2D.html#isPointPlacement()">isPointPlacement</A></B>()</CODE><BR> </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/geotools/renderer/style/TextStyle2D.html#setAnchorX(double)">setAnchorX</A></B>(double f)</CODE><BR> </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/geotools/renderer/style/TextStyle2D.html#setAnchorY(double)">setAnchorY</A></B>(double f)</CODE><BR> </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/geotools/renderer/style/TextStyle2D.html#setComposite(java.awt.Composite)">setComposite</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Composite.html" title="class or interface in java.awt">Composite</A> composite)</CODE><BR> Setter for property composite.</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/geotools/renderer/style/TextStyle2D.html#setDisplacementX(double)">setDisplacementX</A></B>(double displacementX)</CODE><BR> </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/geotools/renderer/style/TextStyle2D.html#setDisplacementY(double)">setDisplacementY</A></B>(double displacementY)</CODE><BR> </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/geotools/renderer/style/TextStyle2D.html#setFill(java.awt.Paint)">setFill</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Paint.html" title="class or interface in java.awt">Paint</A> fill)</CODE><BR> Setter for property fill.</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/geotools/renderer/style/TextStyle2D.html#setFont(java.awt.Font)">setFont</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Font.html" title="class or interface in java.awt">Font</A> font)</CODE><BR> </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/geotools/renderer/style/TextStyle2D.html#setGraphic(org.geotools.renderer.style.Style2D)">setGraphic</A></B>(<A HREF="../../../../org/geotools/renderer/style/Style2D.html" title="class in org.geotools.renderer.style">Style2D</A> s)</CODE><BR> Sets the style2D to be drawn underneath this text</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/geotools/renderer/style/TextStyle2D.html#setHaloComposite(java.awt.Composite)">setHaloComposite</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Composite.html" title="class or interface in java.awt">Composite</A> composite)</CODE><BR> </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/geotools/renderer/style/TextStyle2D.html#setHaloFill(java.awt.Paint)">setHaloFill</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Paint.html" title="class or interface in java.awt">Paint</A> paint)</CODE><BR> </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/geotools/renderer/style/TextStyle2D.html#setHaloRadius(float)">setHaloRadius</A></B>(float f)</CODE><BR> </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/geotools/renderer/style/TextStyle2D.html#setLabel(java.lang.String)">setLabel</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> label)</CODE><BR> </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/geotools/renderer/style/TextStyle2D.html#setPerpendicularOffset(int)">setPerpendicularOffset</A></B>(int displace)</CODE><BR> only valid for a isPointPlacement=false (ie. a lineplacement)</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/geotools/renderer/style/TextStyle2D.html#setPointPlacement(boolean)">setPointPlacement</A></B>(boolean pointPlacement)</CODE><BR> </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/geotools/renderer/style/TextStyle2D.html#setRotation(double)">setRotation</A></B>(double f)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/renderer/style/TextStyle2D.html#toString()">toString</A></B>()</CODE><BR> Returns a string representation of this style.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_Style"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="../../../../org/geotools/renderer/style/Style.html" title="class in org.geotools.renderer.style">Style</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/geotools/renderer/style/Style.html#getMaxScale()">getMaxScale</A>, <A HREF="../../../../org/geotools/renderer/style/Style.html#getMinScale()">getMinScale</A>, <A HREF="../../../../org/geotools/renderer/style/Style.html#isScaleInRange(double)">isScaleInRange</A>, <A HREF="../../../../org/geotools/renderer/style/Style.html#setMinMaxScale(double, double)">setMinMaxScale</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="TextStyle2D()"><!-- --></A><H3>TextStyle2D</H3><PRE>public <B>TextStyle2D</B>()</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getAnchorX()"><!-- --></A><H3>getAnchorX</H3><PRE>public double <B>getAnchorX</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getAnchorY()"><!-- --></A><H3>getAnchorY</H3><PRE>public double <B>getAnchorY</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getFont()"><!-- --></A><H3>getFont</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Font.html" title="class or interface in java.awt">Font</A> <B>getFont</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getHaloComposite()"><!-- --></A><H3>getHaloComposite</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Composite.html" title="class or interface in java.awt">Composite</A> <B>getHaloComposite</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getHaloFill()"><!-- --></A><H3>getHaloFill</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Paint.html" title="class or interface in java.awt">Paint</A> <B>getHaloFill</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getHaloRadius()"><!-- --></A><H3>getHaloRadius</H3><PRE>public float <B>getHaloRadius</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getRotation()"><!-- --></A><H3>getRotation</H3><PRE>public double <B>getRotation</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getTextGlyphVector(java.awt.Graphics2D)"><!-- --></A><H3>getTextGlyphVector</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/font/GlyphVector.html" title="class or interface in java.awt.font">GlyphVector</A> <B>getTextGlyphVector</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Graphics2D.html" title="class or interface in java.awt">Graphics2D</A> graphics)</PRE><DL><DD>recompute each time<P><DD><DL></DL></DD></DL><HR><A NAME="getHaloShape(java.awt.Graphics2D)"><!-- --></A><H3>getHaloShape</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Shape.html" title="class or interface in java.awt">Shape</A> <B>getHaloShape</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Graphics2D.html" title="class or interface in java.awt">Graphics2D</A> graphics)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setAnchorX(double)"><!-- --></A><H3>setAnchorX</H3><PRE>public void <B>setAnchorX</B>(double f)</PRE><DL><DD><DL><DT><B>Parameters:</B><DD><CODE>f</CODE> - </DL></DD></DL><HR><A NAME="setAnchorY(double)"><!-- --></A><H3>setAnchorY</H3><PRE>public void <B>setAnchorY</B>(double f)</PRE><DL><DD><DL><DT><B>Parameters:</B><DD><CODE>f</CODE> - </DL></DD></DL><HR><A NAME="setFont(java.awt.Font)"><!-- --></A><H3>setFont</H3><PRE>public void <B>setFont</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Font.html" title="class or interface in java.awt">Font</A> font)</PRE><DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -