📄 fillimpl.html
字号:
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 between 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><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/styling/Fill.html#setBackgroundColor(org.geotools.filter.Expression)">setBackgroundColor</A></CODE> in interface <CODE><A HREF="../../../org/geotools/styling/Fill.html" title="interface in org.geotools.styling">Fill</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>rgb</CODE> - The color of the Fill encoded as a hexidecimal RGB value.</DL></DD></DL><HR><A NAME="setBackgroundColor(java.lang.String)"><!-- --></A><H3>setBackgroundColor</H3><PRE>public void <B>setBackgroundColor</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> rgb)</PRE><DL><DD><DL></DL></DD><DD><DL></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><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/styling/Fill.html#getOpacity()">getOpacity</A></CODE> in interface <CODE><A HREF="../../../org/geotools/styling/Fill.html" title="interface in org.geotools.styling">Fill</A></CODE></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>Setter for property opacity.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/styling/Fill.html#setOpacity(org.geotools.filter.Expression)">setOpacity</A></CODE> in interface <CODE><A HREF="../../../org/geotools/styling/Fill.html" title="interface in org.geotools.styling">Fill</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>opacity</CODE> - New value of property opacity.</DL></DD></DL><HR><A NAME="setOpacity(java.lang.String)"><!-- --></A><H3>setOpacity</H3><PRE>public void <B>setOpacity</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> opacity)</PRE><DL><DD><DL></DL></DD><DD><DL></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><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/styling/Fill.html#getGraphicFill()">getGraphicFill</A></CODE> in interface <CODE><A HREF="../../../org/geotools/styling/Fill.html" title="interface in org.geotools.styling">Fill</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>graphic 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>Setter for property graphic.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/styling/Fill.html#setGraphicFill(org.geotools.styling.Graphic)">setGraphicFill</A></CODE> in interface <CODE><A HREF="../../../org/geotools/styling/Fill.html" title="interface in org.geotools.styling">Fill</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>graphicFill</CODE> - New value of property graphic.</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><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/styling/Fill.html#accept(org.geotools.styling.StyleVisitor)">accept</A></CODE> in interface <CODE><A HREF="../../../org/geotools/styling/Fill.html" title="interface in org.geotools.styling">Fill</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public <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>clone</B>()</PRE><DL><DD>Returns a clone of the FillImpl.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>clone</CODE> in interface <CODE>Cloneable</CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/geotools/event/AbstractGTComponent.html#clone()">clone</A></CODE> in class <CODE><A HREF="../../../org/geotools/event/AbstractGTComponent.html" title="class in org.geotools.event">AbstractGTComponent</A></CODE></DL></DD><DD><DL><DT><B>See Also:</B><DD><CODE>org.geotools.styling.Fill#clone()</CODE></DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public int <B>hashCode</B>()</PRE><DL><DD>Generates a hashcode for the FillImpl.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The hashcode.</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> oth)</PRE><DL><DD>Compares a FillImpl with another for equality. <p>Two FillImpls are equal if they contain the same, color, backgroundcolor, opacity and graphicFill.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>oth</CODE> - The other FillImpl<DT><B>Returns:</B><DD>True if this FillImpl is equal to oth.</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/FillImpl.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/FeatureTypeStyleImpl.html" title="class in org.geotools.styling"><B>PREV CLASS</B></A> <A HREF="../../../org/geotools/styling/FontImpl.html" title="class 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="FillImpl.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="#fields_inherited_from_class_AbstractGTComponent">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 + -