⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stylebuilder.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;create an attribute expression</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../org/geotools/styling/Style.html" title="interface in org.geotools.styling">Style</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/styling/StyleBuilder.html#buildClassifiedStyle(org.geotools.feature.FeatureCollection, java.lang.String, java.lang.String[], org.geotools.feature.FeatureType)">buildClassifiedStyle</A></B>(<A HREF="../../../org/geotools/feature/FeatureCollection.html" title="interface in org.geotools.feature">FeatureCollection</A>&nbsp;fc,                     <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;name,                     <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[]&nbsp;colors,                     <A HREF="../../../org/geotools/feature/FeatureType.html" title="interface in org.geotools.feature">FeatureType</A>&nbsp;schema)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;given a feature collection and an array of colours build a style  with the given number of classes on the named column</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<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/StyleBuilder.html#colorExpression(java.awt.Color)">colorExpression</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>&nbsp;color)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;convert an awt color in to a literal expression representing the color</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../org/geotools/styling/AnchorPoint.html" title="interface in org.geotools.styling">AnchorPoint</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/styling/StyleBuilder.html#createAnchorPoint(double, double)">createAnchorPoint</A></B>(double&nbsp;x,                  double&nbsp;y)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wrapper round Stylefactory Method</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../org/geotools/styling/AnchorPoint.html" title="interface in org.geotools.styling">AnchorPoint</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/styling/StyleBuilder.html#createAnchorPoint(org.geotools.filter.Expression, org.geotools.filter.Expression)">createAnchorPoint</A></B>(<A HREF="../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A>&nbsp;x,                  <A HREF="../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A>&nbsp;y)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wrapper round Stylefactory Method</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../org/geotools/styling/ColorMap.html" title="interface in org.geotools.styling">ColorMap</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/styling/StyleBuilder.html#createColorMap(java.lang.String[], double[], java.awt.Color[], int)">createColorMap</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>[]&nbsp;labels,               double[]&nbsp;quantities,               <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A>[]&nbsp;colors,               int&nbsp;type)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a color map based on fixed quantities and colors.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../org/geotools/styling/Displacement.html" title="interface in org.geotools.styling">Displacement</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/styling/StyleBuilder.html#createDisplacement(double, double)">createDisplacement</A></B>(double&nbsp;x,                   double&nbsp;y)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wrapper round Stylefactory Method</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../org/geotools/styling/Displacement.html" title="interface in org.geotools.styling">Displacement</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/styling/StyleBuilder.html#createDisplacement(org.geotools.filter.Expression, org.geotools.filter.Expression)">createDisplacement</A></B>(<A HREF="../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A>&nbsp;x,                   <A HREF="../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A>&nbsp;y)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wrapper round Stylefactory Method</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../org/geotools/styling/ExternalGraphic.html" title="interface in org.geotools.styling">ExternalGraphic</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/styling/StyleBuilder.html#createExternalGraphic(java.lang.String, java.lang.String)">createExternalGraphic</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>&nbsp;uri,                      <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;format)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wrapper for stylefactory method</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../org/geotools/styling/ExternalGraphic.html" title="interface in org.geotools.styling">ExternalGraphic</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/styling/StyleBuilder.html#createExternalGraphic(java.net.URL, java.lang.String)">createExternalGraphic</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/URL.html" title="class or interface in java.net">URL</A>&nbsp;url,                      <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;format)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wrapper for stylefactory method</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../org/geotools/styling/FeatureTypeStyle.html" title="interface in org.geotools.styling">FeatureTypeStyle</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/styling/StyleBuilder.html#createFeatureTypeStyle(java.lang.String, org.geotools.styling.Rule)">createFeatureTypeStyle</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>&nbsp;featureTypeName,                       <A HREF="../../../org/geotools/styling/Rule.html" title="interface in org.geotools.styling">Rule</A>&nbsp;r)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;create a Feature type styler</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../org/geotools/styling/FeatureTypeStyle.html" title="interface in org.geotools.styling">FeatureTypeStyle</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/styling/StyleBuilder.html#createFeatureTypeStyle(java.lang.String, org.geotools.styling.Rule[])">createFeatureTypeStyle</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>&nbsp;featureTypeName,                       <A HREF="../../../org/geotools/styling/Rule.html" title="interface in org.geotools.styling">Rule</A>[]&nbsp;rules)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;create a Feature type styler see the SLD Spec for more details of scaleDenominators</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../org/geotools/styling/FeatureTypeStyle.html" title="interface in org.geotools.styling">FeatureTypeStyle</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/styling/StyleBuilder.html#createFeatureTypeStyle(java.lang.String, org.geotools.styling.Symbolizer)">createFeatureTypeStyle</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>&nbsp;featureTypeName,                       <A HREF="../../../org/geotools/styling/Symbolizer.html" title="interface in org.geotools.styling">Symbolizer</A>&nbsp;symbolizer)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;create a Feature type styler</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../org/geotools/styling/FeatureTypeStyle.html" title="interface in org.geotools.styling">FeatureTypeStyle</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/styling/StyleBuilder.html#createFeatureTypeStyle(java.lang.String, org.geotools.styling.Symbolizer[])">createFeatureTypeStyle</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>&nbsp;featureTypeName,                       <A HREF="../../../org/geotools/styling/Symbolizer.html" title="interface in org.geotools.styling">Symbolizer</A>[]&nbsp;symbolizers)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;create a Feature type styler</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../org/geotools/styling/FeatureTypeStyle.html" title="interface in org.geotools.styling">FeatureTypeStyle</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/styling/StyleBuilder.html#createFeatureTypeStyle(java.lang.String, org.geotools.styling.Symbolizer[], double, double)">createFeatureTypeStyle</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>&nbsp;featureTypeName,                       <A HREF="../../../org/geotools/styling/Symbolizer.html" title="interface in org.geotools.styling">Symbolizer</A>[]&nbsp;symbolizers,                       double&nbsp;minScaleDenominator,                       double&nbsp;maxScaleDenominator)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;create a Feature type styler see the SLD Spec for more details of scaleDenominators</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../org/geotools/styling/FeatureTypeStyle.html" title="interface in org.geotools.styling">FeatureTypeStyle</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/styling/StyleBuilder.html#createFeatureTypeStyle(java.lang.String, org.geotools.styling.Symbolizer, double, double)">createFeatureTypeStyle</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>&nbsp;featureTypeName,                       <A HREF="../../../org/geotools/styling/Symbolizer.html" title="interface in org.geotools.styling">Symbolizer</A>&nbsp;symbolizer,                       double&nbsp;minScaleDenominator,                       double&nbsp;maxScaleDenominator)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;create a Feature type styler see the SLD Spec for more details of scaleDenominators</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../org/geotools/styling/FeatureTypeStyle.html" title="interface in org.geotools.styling">FeatureTypeStyle</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/styling/StyleBuilder.html#createFeatureTypeStyle(org.geotools.styling.Symbolizer)">createFeatureTypeStyle</A></B>(<A HREF="../../../org/geotools/styling/Symbolizer.html" title="interface in org.geotools.styling">Symbolizer</A>&nbsp;symbolizer)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;create a Feature type styler</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../org/geotools/styling/FeatureTypeStyle.html" title="interface in org.geotools.styling">FeatureTypeStyle</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/styling/StyleBuilder.html#createFeatureTypeStyle(org.geotools.styling.Symbolizer[], double, double)">createFeatureTypeStyle</A></B>(<A HREF="../../../org/geotools/styling/Symbolizer.html" title="interface in org.geotools.styling">Symbolizer</A>[]&nbsp;symbolizers,                       double&nbsp;minScaleDenominator,                       double&nbsp;maxScaleDenominator)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;create a Feature type styler see the SLD Spec for more details of scaleDenominators</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../org/geotools/styling/FeatureTypeStyle.html" title="interface in org.geotools.styling">FeatureTypeStyle</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/styling/StyleBuilder.html#createFeatureTypeStyle(org.geotools.styling.Symbolizer, double, double)">createFeatureTypeStyle</A></B>(<A HREF="../../../org/geotools/styling/Symbolizer.html" title="interface in org.geotools.styling">Symbolizer</A>&nbsp;symbolizer,                       double&nbsp;minScaleDenominator,                       double&nbsp;maxScaleDenominator)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;create a Feature type styler see the SLD Spec for more details of scaleDenominators</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../org/geotools/styling/Fill.html" title="interface in org.geotools.styling">Fill</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/styling/StyleBuilder.html#createFill()">createFill</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;create a default fill 50% gray</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../org/geotools/styling/Fill.html" title="interface in org.geotools.styling">Fill</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/geotools/styling/StyleBuilder.html#createFill(java.awt.Color)">createFill</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>&nbsp;fillColor)</CODE><BR>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -