📄 textsymbolizer.html
字号:
<BR> Find the value of a key in the map (may return null)</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/util/Map.html" title="class or interface in java.util">Map</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/styling/TextSymbolizer.html#getOptions()">getOptions</A></B>()</CODE><BR> return the map of option</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/geotools/styling/LabelPlacement.html" title="interface in org.geotools.styling">LabelPlacement</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/styling/TextSymbolizer.html#getPlacement()">getPlacement</A></B>()</CODE><BR> A LabelPlacement specifies how a text element should be rendered relative to its geometric point or line.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/styling/TextSymbolizer.html#getPriority()">getPriority</A></B>()</CODE><BR> Priority -- null = use the default labeling priority Expression = an expression that evaluates to a number (ie. </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/styling/TextSymbolizer.html#setFill(org.geotools.styling.Fill)">setFill</A></B>(<A HREF="../../../org/geotools/styling/Fill.html" title="interface in org.geotools.styling">Fill</A> fill)</CODE><BR> Sets the object that indicates how the text will be filled. </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/styling/TextSymbolizer.html#setFonts(org.geotools.styling.Font[])">setFonts</A></B>(<A HREF="../../../org/geotools/styling/Font.html" title="interface in org.geotools.styling">Font</A>[] fonts)</CODE><BR> sets a list of device independent Font objects to be used to render the label.</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/styling/TextSymbolizer.html#setGeometryPropertyName(java.lang.String)">setGeometryPropertyName</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> name)</CODE><BR> This property defines the geometry to be used for styling.</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/styling/TextSymbolizer.html#setHalo(org.geotools.styling.Halo)">setHalo</A></B>(<A HREF="../../../org/geotools/styling/Halo.html" title="interface in org.geotools.styling">Halo</A> halo)</CODE><BR> A halo fills an extended area outside the glyphs of a rendered text label to make the label easier to read over a background.</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/styling/TextSymbolizer.html#setLabel(org.geotools.filter.Expression)">setLabel</A></B>(<A HREF="../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A> label)</CODE><BR> Sets the expression that will be evaluated to determine what text is displayed. </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/styling/TextSymbolizer.html#setLabelPlacement(org.geotools.styling.LabelPlacement)">setLabelPlacement</A></B>(<A HREF="../../../org/geotools/styling/LabelPlacement.html" title="interface in org.geotools.styling">LabelPlacement</A> labelPlacement)</CODE><BR> <B>Deprecated.</B> <I>use setPlacement(LabelPlacement)</I></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/styling/TextSymbolizer.html#setPlacement(org.geotools.styling.LabelPlacement)">setPlacement</A></B>(<A HREF="../../../org/geotools/styling/LabelPlacement.html" title="interface in org.geotools.styling">LabelPlacement</A> labelPlacement)</CODE><BR> A LabelPlacement specifies how a text element should be rendered relative to its geometric point or line.</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/styling/TextSymbolizer.html#setPriority(org.geotools.filter.Expression)">setPriority</A></B>(<A HREF="../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A> e)</CODE><BR> Priority -- null = use the default labeling priority Expression = an expression that evaluates to a number (ie. </TD></TR></TABLE> <A NAME="methods_inherited_from_class_Symbolizer"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface <A HREF="../../../org/geotools/styling/Symbolizer.html" title="interface in org.geotools.styling">Symbolizer</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/geotools/styling/Symbolizer.html#accept(org.geotools.styling.StyleVisitor)">accept</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_GTComponent"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface <A HREF="../../../org/geotools/event/GTComponent.html" title="interface in org.geotools.event">GTComponent</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/geotools/event/GTComponent.html#changed(org.geotools.event.GTDelta)">changed</A>, <A HREF="../../../org/geotools/event/GTComponent.html#getNote()">getNote</A>, <A HREF="../../../org/geotools/event/GTComponent.html#getParent()">getParent</A>, <A HREF="../../../org/geotools/event/GTComponent.html#removed(org.geotools.event.GTDelta)">removed</A>, <A HREF="../../../org/geotools/event/GTComponent.html#setNote(org.geotools.event.GTNote)">setNote</A></CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ 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="getLabel()"><!-- --></A><H3>getLabel</H3><PRE>public <A HREF="../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A> <B>getLabel</B>()</PRE><DL><DD>Returns the expression that will be evaluated to determine what text is displayed.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>DOCUMENT ME!</DL></DD></DL><HR><A NAME="setLabel(org.geotools.filter.Expression)"><!-- --></A><H3>setLabel</H3><PRE>public void <B>setLabel</B>(<A HREF="../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A> label)</PRE><DL><DD>Sets the expression that will be evaluated to determine what text is displayed. See <A HREF="../../../org/geotools/styling/TextSymbolizer.html#getLabel()"><CODE>getLabel()</CODE></A> for details.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>label</CODE> - DOCUMENT ME!</DL></DD></DL><HR><A NAME="getFonts()"><!-- --></A><H3>getFonts</H3><PRE>public <A HREF="../../../org/geotools/styling/Font.html" title="interface in org.geotools.styling">Font</A>[] <B>getFonts</B>()</PRE><DL><DD>Returns a device independent Font object that is to be used to render the label.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>DOCUMENT ME!</DL></DD></DL><HR><A NAME="setFonts(org.geotools.styling.Font[])"><!-- --></A><H3>setFonts</H3><PRE>public void <B>setFonts</B>(<A HREF="../../../org/geotools/styling/Font.html" title="interface in org.geotools.styling">Font</A>[] fonts)</PRE><DL><DD>sets a list of device independent Font objects to be used to render the label.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>fonts</CODE> - DOCUMENT ME!</DL></DD></DL><HR><A NAME="getPlacement()"><!-- --></A><H3>getPlacement</H3><PRE>public <A HREF="../../../org/geotools/styling/LabelPlacement.html" title="interface in org.geotools.styling">LabelPlacement</A> <B>getPlacement</B>()</PRE><DL><DD>A LabelPlacement specifies how a text element should be rendered relative to its geometric point or line.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>DOCUMENT ME!<DT><B>Since:</B></DT> <DD>Geotools 2.2 (GeoAPI 2.0)</DD></DL></DD></DL><HR><A NAME="getLabelPlacement()"><!-- --></A><H3>getLabelPlacement</H3><PRE>public <A HREF="../../../org/geotools/styling/LabelPlacement.html" title="interface in org.geotools.styling">LabelPlacement</A> <B>getLabelPlacement</B>()</PRE><DL><DD><B>Deprecated.</B> <I>use getPlacement()</I><P><DD>A LabelPlacement specifies how a text element should be rendered relative to its geometric point or line.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>DOCUMENT ME!</DL></DD></DL><HR><A NAME="setLabelPlacement(org.geotools.styling.LabelPlacement)"><!-- --></A><H3>setLabelPlacement</H3><PRE>public void <B>setLabelPlacement</B>(<A HREF="../../../org/geotools/styling/LabelPlacement.html" title="interface in org.geotools.styling">LabelPlacement</A> labelPlacement)</PRE><DL><DD><B>Deprecated.</B> <I>use setPlacement(LabelPlacement)</I><P><DD>A LabelPlacement specifies how a text element should be rendered relative to its geometric point or line.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>labelPlacement</CODE> - DOCUMENT ME!</DL></DD></DL><HR><A NAME="setPlacement(org.geotools.styling.LabelPlacement)"><!-- --></A><H3>setPlacement</H3><PRE>public void <B>setPlacement</B>(<A HREF="../../../org/geotools/styling/LabelPlacement.html" title="interface in org.geotools.styling">LabelPlacement</A> labelPlacement)</PRE><DL><DD>A LabelPlacement specifies how a text element should be rendered relative to its geometric point or line.<P><DD><DL></DL></DD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -