📄 textsymbolizerimpl.html
字号:
the label.</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/styling/TextSymbolizerImpl.html#getGeometryPropertyName()">getGeometryPropertyName</A></B>()</CODE><BR> Getter for property geometryPropertyName.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/geotools/styling/Graphic.html" title="interface in org.geotools.styling">Graphic</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/styling/TextSymbolizerImpl.html#getGraphic()">getGraphic</A></B>()</CODE><BR> The nonstandard-SLD graphic element supports putting little graphical-bits onto labels. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/geotools/styling/Halo.html" title="interface in org.geotools.styling">Halo</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/styling/TextSymbolizerImpl.html#getHalo()">getHalo</A></B>()</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> <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/TextSymbolizerImpl.html#getLabel()">getLabel</A></B>()</CODE><BR> Returns the label expression.</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/TextSymbolizerImpl.html#getLabelPlacement()">getLabelPlacement</A></B>()</CODE><BR> <B>Deprecated.</B> <I>use getPlacement()</I></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/styling/TextSymbolizerImpl.html#getOption(java.lang.String)">getOption</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> key)</CODE><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/TextSymbolizerImpl.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/TextSymbolizerImpl.html#getPlacement()">getPlacement</A></B>()</CODE><BR> A pointPlacement specifies how a text element should be rendered relative to its geometric point.</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/TextSymbolizerImpl.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> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/styling/TextSymbolizerImpl.html#hashCode()">hashCode</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/styling/TextSymbolizerImpl.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> 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/styling/TextSymbolizerImpl.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 the list of fonts in the TextSymbolizer to the provided array of Fonts.</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/TextSymbolizerImpl.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> geometryPropertyName)</CODE><BR> Setter for property geometryPropertyName.</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/TextSymbolizerImpl.html#setGraphic(org.geotools.styling.Graphic)">setGraphic</A></B>(<A HREF="../../../org/geotools/styling/Graphic.html" title="interface in org.geotools.styling">Graphic</A> graphic)</CODE><BR> The nonstandard-SLD graphic element supports putting little graphical-bits onto labels. </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/TextSymbolizerImpl.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> Setter for property halo.</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/TextSymbolizerImpl.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> Setter for property 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/TextSymbolizerImpl.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/TextSymbolizerImpl.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> Setter for property labelPlacement.</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/TextSymbolizerImpl.html#setPriority(org.geotools.filter.Expression)">setPriority</A></B>(<A HREF="../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A> priority)</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_AbstractGTComponent"><!-- --></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/event/AbstractGTComponent.html" title="class in org.geotools.event">AbstractGTComponent</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/geotools/event/AbstractGTComponent.html#changed(org.geotools.event.GTDelta)">changed</A>, <A HREF="../../../org/geotools/event/AbstractGTComponent.html#fireChanged()">fireChanged</A>, <A HREF="../../../org/geotools/event/AbstractGTComponent.html#fireChildChanged(java.lang.String, java.lang.Object, java.lang.Object)">fireChildChanged</A>, <A HREF="../../../org/geotools/event/AbstractGTComponent.html#getNote()">getNote</A>, <A HREF="../../../org/geotools/event/AbstractGTComponent.html#getParent()">getParent</A>, <A HREF="../../../org/geotools/event/AbstractGTComponent.html#removed(org.geotools.event.GTDelta)">removed</A>, <A HREF="../../../org/geotools/event/AbstractGTComponent.html#setNote(org.geotools.event.GTNote)">setNote</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#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#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_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 ======== --><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="TextSymbolizerImpl()"><!-- --></A><H3>TextSymbolizerImpl</H3><PRE>protected <B>TextSymbolizerImpl</B>()</PRE><DL><DD>Creates a new instance of DefaultTextSymbolizer<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="geometryPropertyName()"><!-- --></A><H3>geometryPropertyName</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>geometryPropertyName</B>()</PRE><DL><DD>This property defines the geometry to be used for styling.<br> The property is optional and if it is absent (null) then the "default" geometry property of the feature should be used. Geometry types other than inherently point types can be used. The geometryPropertyName is the name of a geometry property in the Feature being styled. Typically, features only have one geometry so, in general, the need to select one is not required. Note: this moves a little away from the SLD spec which provides an XPath reference to a Geometry object, but does follow it in spirit.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>String The name of the attribute in the feature being styled that should be used. If null then the default geometry should be used.</DL></DD></DL><HR><A NAME="getFill()"><!-- --></A><H3>getFill</H3><PRE>public <A HREF="../../../org/geotools/styling/Fill.html" title="interface in org.geotools.styling">Fill</A> <B>getFill</B>()</PRE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -