📄 fill.html
字号:
</TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="DEFAULT"><!-- --></A><H3>DEFAULT</H3><PRE>public static final <A HREF="../../../org/geotools/styling/Fill.html" title="interface in org.geotools.styling">Fill</A> <B>DEFAULT</B></PRE><DL><DL></DL></DL><HR><A NAME="NULL"><!-- --></A><H3>NULL</H3><PRE>public static final <A HREF="../../../org/geotools/styling/Fill.html" title="interface in org.geotools.styling">Fill</A> <B>NULL</B></PRE><DL><DL></DL></DL><!-- ========= 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="getColor()"><!-- --></A><H3>getColor</H3><PRE>public <A HREF="../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A> <B>getColor</B>()</PRE><DL><DD>This parameter gives the solid color that will be used for a Fill.<br> The color value is RGB-encoded using two hexidecimal digits per primary-color component, in the order Red, Green, Blue, prefixed with the hash (#) sign. The hexidecimal digits beetween A and F may be in either upper or lower case. For example, full red is encoded as "#ff0000" (with no quotation marks). The default color is defined to be 50% gray ("#808080"). Note: in CSS this parameter is just called Fill and not Color.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The color of the Fill encoded as a hexidecimal RGB value.</DL></DD></DL><HR><A NAME="setColor(org.geotools.filter.Expression)"><!-- --></A><H3>setColor</H3><PRE>public void <B>setColor</B>(<A HREF="../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A> color)</PRE><DL><DD>This parameter gives the solid color that will be used for a Fill.<br> The color value is RGB-encoded using two hexidecimal digits per primary-color component, in the order Red, Green, Blue, prefixed with the hash (#) sign. The hexidecimal digits beetween A and F may be in either upper or lower case. For example, full red is encoded as "#ff0000" (with no quotation marks).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>color</CODE> - solid color that will be used for a Fill</DL></DD></DL><HR><A NAME="getBackgroundColor()"><!-- --></A><H3>getBackgroundColor</H3><PRE>public <A HREF="../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A> <B>getBackgroundColor</B>()</PRE><DL><DD>This parameter gives the solid color that will be used as a background for a Fill.<br> The color value is RGB-encoded using two hexidecimal digits per primary-color component, in the order Red, Green, Blue, prefixed with the hash (#) sign. The hexidecimal digits beetween A and F may be in either upper or lower case. For example, full red is encoded as "#ff0000" (with no quotation marks). The default color is defined to be transparent.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The background color of the Fill encoded as a hexidecimal RGB value.</DL></DD></DL><HR><A NAME="setBackgroundColor(org.geotools.filter.Expression)"><!-- --></A><H3>setBackgroundColor</H3><PRE>public void <B>setBackgroundColor</B>(<A HREF="../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A> backgroundColor)</PRE><DL><DD>This parameter gives the solid color that will be used as a background for a Fill.<br> The color value is RGB-encoded using two hexidecimal digits per primary-color component, in the order Red, Green, Blue, prefixed with the hash (#) sign. The hexidecimal digits beetween A and F may be in either upper or lower case. For example, full red is encoded as "#ff0000" (with no quotation marks).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>backgroundColor</CODE> - solid color that will be used as a background</DL></DD></DL><HR><A NAME="getOpacity()"><!-- --></A><H3>getOpacity</H3><PRE>public <A HREF="../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A> <B>getOpacity</B>()</PRE><DL><DD>This specifies the level of translucency to use when rendering the fill. <br> The value is encoded as a floating-point value between 0.0 and 1.0 with 0.0 representing totally transparent and 1.0 representing totally opaque, with a linear scale of translucency for intermediate values.<br> For example, "0.65" would represent 65% opacity. The default value is 1.0 (opaque).<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The opacity of the fill, where 0.0 is completely transparent and 1.0 is completely opaque.</DL></DD></DL><HR><A NAME="setOpacity(org.geotools.filter.Expression)"><!-- --></A><H3>setOpacity</H3><PRE>public void <B>setOpacity</B>(<A HREF="../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A> opacity)</PRE><DL><DD>This specifies the level of translucency to use when rendering the fill. <br> The value is encoded as a floating-point value between 0.0 and 1.0 with 0.0 representing totally transparent and 1.0 representing totally opaque, with a linear scale of translucency for intermediate values.<br> For example, "0.65" would represent 65% opacity.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>opacity</CODE> - DOCUMENT ME!</DL></DD></DL><HR><A NAME="getGraphicFill()"><!-- --></A><H3>getGraphicFill</H3><PRE>public <A HREF="../../../org/geotools/styling/Graphic.html" title="interface in org.geotools.styling">Graphic</A> <B>getGraphicFill</B>()</PRE><DL><DD>This parameter indicates that a stipple-fill repeated graphic will be used and specifies the fill graphic to use.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The graphic to use as a stipple fill. If null then no stipple fill should be used.</DL></DD></DL><HR><A NAME="setGraphicFill(org.geotools.styling.Graphic)"><!-- --></A><H3>setGraphicFill</H3><PRE>public void <B>setGraphicFill</B>(<A HREF="../../../org/geotools/styling/Graphic.html" title="interface in org.geotools.styling">Graphic</A> graphicFill)</PRE><DL><DD>This parameter indicates that a stipple-fill repeated graphic will be used and specifies the fill graphic to use.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>graphicFill</CODE> - DOCUMENT ME!</DL></DD></DL><HR><A NAME="accept(org.geotools.styling.StyleVisitor)"><!-- --></A><H3>accept</H3><PRE>public void <B>accept</B>(<A HREF="../../../org/geotools/styling/StyleVisitor.html" title="interface in org.geotools.styling">StyleVisitor</A> visitor)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Fill.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../org/geotools/styling/FeatureTypeStyle.html" title="interface in org.geotools.styling"><B>PREV CLASS</B></A> <A HREF="../../../org/geotools/styling/Font.html" title="interface in org.geotools.styling"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="Fill.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright © 1996-2007 <a href="http://www.geotools.org">Geotools</a>. All Rights Reserved.</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -