📄 defaulttextsymbolizer.html
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/style/DefaultTextSymbolizer.html#getHaloColor()">getHaloColor</A></B>()</CODE><BR> Returns the color that is used to fill in the halo, or null if no halo is to be drawn.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> float</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/style/DefaultTextSymbolizer.html#getHaloRadius()">getHaloRadius</A></B>()</CODE><BR> Returns the halo radius value, or zero if no halo is to be drawn.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> float</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/style/DefaultTextSymbolizer.html#getRotation()">getRotation</A></B>()</CODE><BR> Returns the label rotation.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> XAnchor</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/style/DefaultTextSymbolizer.html#getXAnchor()">getXAnchor</A></B>()</CODE><BR> Returns the label <var>x</var> anchor.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> float</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/style/DefaultTextSymbolizer.html#getXDisplacement()">getXDisplacement</A></B>()</CODE><BR> Returns the label <var>x</var> displacement.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> YAnchor</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/style/DefaultTextSymbolizer.html#getYAnchor()">getYAnchor</A></B>()</CODE><BR> Returns the label <var>y</var> anchor.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> float</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/display/style/DefaultTextSymbolizer.html#getYDisplacement()">getYDisplacement</A></B>()</CODE><BR> Returns the label <var>y</var> displacement.</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/display/style/DefaultTextSymbolizer.html#setBackgroundColor(java.awt.Color)">setBackgroundColor</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A> backgroundColor)</CODE><BR> Sets the color that is used for rendering a background behind the 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/display/style/DefaultTextSymbolizer.html#setFillBackgroundColor(java.awt.Color)">setFillBackgroundColor</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A> fillBackgroundColor)</CODE><BR> Sets the color that is used as the pattern background color when a stipple pattern is used for the fill color.</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/display/style/DefaultTextSymbolizer.html#setFillColor(java.awt.Color)">setFillColor</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A> fillColor)</CODE><BR> {Sets the color used to draw the 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/display/style/DefaultTextSymbolizer.html#setFillGradientPoints(float[])">setFillGradientPoints</A></B>(float[] fillGradientPoints)</CODE><BR> Sets the fill gradient points value.</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/display/style/DefaultTextSymbolizer.html#setFillOpacity(float)">setFillOpacity</A></B>(float fillOpacity)</CODE><BR> Sets the fill opacity value.</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/display/style/DefaultTextSymbolizer.html#setFillPattern(org.opengis.go.display.style.FillPattern)">setFillPattern</A></B>(FillPattern fillPattern)</CODE><BR> Sets the fill pattern value.</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/display/style/DefaultTextSymbolizer.html#setFillStyle(org.opengis.go.display.style.FillStyle)">setFillStyle</A></B>(FillStyle fillStyle)</CODE><BR> Sets the fill style value.</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/display/style/DefaultTextSymbolizer.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> Sets the Font object.</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/display/style/DefaultTextSymbolizer.html#setHaloColor(java.awt.Color)">setHaloColor</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A> haloColor)</CODE><BR> Sets the halo color.</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/display/style/DefaultTextSymbolizer.html#setHaloRadius(float)">setHaloRadius</A></B>(float haloRadius)</CODE><BR> Sets the halo radius value. </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/display/style/DefaultTextSymbolizer.html#setPropertiesFrom(org.opengis.go.display.style.GraphicStyle)">setPropertiesFrom</A></B>(GraphicStyle graphicStyle)</CODE><BR> Sets the properties of this from the properties of the specified .</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/display/style/DefaultTextSymbolizer.html#setRotation(float)">setRotation</A></B>(float rotation)</CODE><BR> Sets the label rotation.</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/display/style/DefaultTextSymbolizer.html#setXAnchor(org.opengis.go.display.style.XAnchor)">setXAnchor</A></B>(XAnchor xAnchor)</CODE><BR> Sets the label <var>x</var> anchor.</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/display/style/DefaultTextSymbolizer.html#setXDisplacement(float)">setXDisplacement</A></B>(float xDisplacement)</CODE><BR> Sets the label <var>x</var> displacement.</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/display/style/DefaultTextSymbolizer.html#setYAnchor(org.opengis.go.display.style.YAnchor)">setYAnchor</A></B>(YAnchor yAnchor)</CODE><BR> Sets the label <var>y</var> anchor.</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/display/style/DefaultTextSymbolizer.html#setYDisplacement(float)">setYDisplacement</A></B>(float yDisplacement)</CODE><BR> Sets the label <var>y</var> displacement.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_DefaultGraphicStyle"><!-- --></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/display/style/DefaultGraphicStyle.html" title="class in org.geotools.display.style">DefaultGraphicStyle</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/geotools/display/style/DefaultGraphicStyle.html#acquireEventLock()">acquireEventLock</A>, <A HREF="../../../../org/geotools/display/style/DefaultGraphicStyle.html#addGraphicStyleListener(org.opengis.go.display.style.event.GraphicStyleListener)">addGraphicStyleListener</A>, <A HREF="../../../../org/geotools/display/style/DefaultGraphicStyle.html#clone()">clone</A>, <A HREF="../../../../org/geotools/display/style/DefaultGraphicStyle.html#getRenderingHint(java.awt.RenderingHints.Key)">getRenderingHint</A>, <A HREF="../../../../org/geotools/display/style/DefaultGraphicStyle.html#releaseEventLock()">releaseEventLock</A>, <A HREF="../../../../org/geotools/display/style/DefaultGraphicStyle.html#removeGraphicStyleListener(org.opengis.go.display.style.event.GraphicStyleListener)">removeGraphicStyleListener</A>, <A HREF="../../../../org/geotools/display/style/DefaultGraphicStyle.html#setRenderingHint(java.awt.RenderingHints.Key, java.lang.Object)">setRenderingHint</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_DisplayObject"><!-- --></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/display/canvas/DisplayObject.html" title="class in org.geotools.display.canvas">DisplayObject</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/geotools/display/canvas/DisplayObject.html#addPropertyChangeListener(java.beans.PropertyChangeListener)">addPropertyChangeListener</A>, <A HREF="../../../../org/geotools/display/canvas/DisplayObject.html#addPropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener)">addPropertyChangeListener</A>, <A HREF="../../../../org/geotools/display/canvas/DisplayObject.html#clearCache()">clearCache</A>, <A HREF="../../../../org/geotools/display/canvas/DisplayObject.html#dispose()">dispose</A>, <A HREF="../../../../org/geotools/display/canvas/DisplayObject.html#getImplHint(java.lang.String)">getImplHint</A>, <A HREF="../../../../org/geotools/display/canvas/DisplayObject.html#getLocale()">getLocale</A>, <A HREF="../../../../org/geotools/display/canvas/DisplayObject.html#getLogger()">getLogger</A>, <A HREF="../../../../org/geotools/display/canvas/DisplayObject.html#handleException(java.lang.String, java.lang.String, java.lang.Exception)">handleException</A>, <A HREF="../../../../org/geotools/display/canvas/DisplayObject.html#removePropertyChangeListener(java.beans.PropertyChangeListener)">removePropertyChangeListener</A>, <A HREF="../../../../org/geotools/display/canvas/DisplayObject.html#removePropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener)">removePropertyChangeListener</A>, <A HREF="../../../../org/geotools/display/canvas/DisplayObject.html#setImplHint(java.lang.String, java.lang.Object)">setImplHint</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#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#toString()" title="class or interface in java.lang">toString</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> <A NAME="methods_inherited_from_class_GraphicStyle"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface GraphicStyle</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>addGraphicStyleListener, clone, getImplHint, removeGraphicStyleListener, setImplHint</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="DefaultTextSymbolizer()"><!-- --></A><H3>DefaultTextSymbolizer</H3><PRE>public <B>DefaultTextSymbolizer</B>()</PRE><DL><DD>Creates a default instance of text symbolizer.<P></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="getFillColor()"><!-- --></A><H3>getFillColor</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A> <B>getFillColor</B>()</PRE><DL><DD>Returns the color used to draw the text. This is the color used to fill the interior of the font glyphs.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>getFillColor</CODE> in interface <CODE>TextSymbolizer</CODE></DL></DD><DD><DL></DL></DD></DL><HR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -