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

📄 graphicimpl.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<A NAME="getExternalGraphics()"><!-- --></A><H3>getExternalGraphics</H3><PRE>public <A HREF="../../../org/geotools/styling/ExternalGraphic.html" title="interface in org.geotools.styling">ExternalGraphic</A>[] <B>getExternalGraphics</B>()</PRE><DL><DD>Provides a list of external graphics which can be used to represent this graphic. Each one should be an equivalent representation but in a different format. If none are provided, or if none of the formats are supported, then the list of Marks should be used instead.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/styling/Graphic.html#getExternalGraphics()">getExternalGraphics</A></CODE> in interface <CODE><A HREF="../../../org/geotools/styling/Graphic.html" title="interface in org.geotools.styling">Graphic</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>An array of ExternalGraphics objects which should be equivalents         but in different formats.  If null is returned use getMarks         instead.</DL></DD></DL><HR><A NAME="setExternalGraphics(org.geotools.styling.ExternalGraphic[])"><!-- --></A><H3>setExternalGraphics</H3><PRE>public void <B>setExternalGraphics</B>(<A HREF="../../../org/geotools/styling/ExternalGraphic.html" title="interface in org.geotools.styling">ExternalGraphic</A>[]&nbsp;externalGraphics)</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/styling/Graphic.html#setExternalGraphics(org.geotools.styling.ExternalGraphic[])">setExternalGraphics</A></CODE> in interface <CODE><A HREF="../../../org/geotools/styling/Graphic.html" title="interface in org.geotools.styling">Graphic</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="addExternalGraphic(org.geotools.styling.ExternalGraphic)"><!-- --></A><H3>addExternalGraphic</H3><PRE>public void <B>addExternalGraphic</B>(<A HREF="../../../org/geotools/styling/ExternalGraphic.html" title="interface in org.geotools.styling">ExternalGraphic</A>&nbsp;externalGraphic)</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/styling/Graphic.html#addExternalGraphic(org.geotools.styling.ExternalGraphic)">addExternalGraphic</A></CODE> in interface <CODE><A HREF="../../../org/geotools/styling/Graphic.html" title="interface in org.geotools.styling">Graphic</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getMarks()"><!-- --></A><H3>getMarks</H3><PRE>public <A HREF="../../../org/geotools/styling/Mark.html" title="interface in org.geotools.styling">Mark</A>[] <B>getMarks</B>()</PRE><DL><DD>Provides a list of suitable marks which can be used to represent this graphic. These should only be used if no ExternalGraphic is provided, or if none of the external graphics formats are supported.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/styling/Graphic.html#getMarks()">getMarks</A></CODE> in interface <CODE><A HREF="../../../org/geotools/styling/Graphic.html" title="interface in org.geotools.styling">Graphic</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>An array of marks to use when displaying this Graphic. By         default, a "square" with 50% gray fill and black outline with a         size of 6 pixels (unless a size is specified) is provided.</DL></DD></DL><HR><A NAME="setMarks(org.geotools.styling.Mark[])"><!-- --></A><H3>setMarks</H3><PRE>public void <B>setMarks</B>(<A HREF="../../../org/geotools/styling/Mark.html" title="interface in org.geotools.styling">Mark</A>[]&nbsp;marks)</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/styling/Graphic.html#setMarks(org.geotools.styling.Mark[])">setMarks</A></CODE> in interface <CODE><A HREF="../../../org/geotools/styling/Graphic.html" title="interface in org.geotools.styling">Graphic</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="addMark(org.geotools.styling.Mark)"><!-- --></A><H3>addMark</H3><PRE>public void <B>addMark</B>(<A HREF="../../../org/geotools/styling/Mark.html" title="interface in org.geotools.styling">Mark</A>&nbsp;mark)</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/styling/Graphic.html#addMark(org.geotools.styling.Mark)">addMark</A></CODE> in interface <CODE><A HREF="../../../org/geotools/styling/Graphic.html" title="interface in org.geotools.styling">Graphic</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getSymbols()"><!-- --></A><H3>getSymbols</H3><PRE>public <A HREF="../../../org/geotools/styling/Symbol.html" title="interface in org.geotools.styling">Symbol</A>[] <B>getSymbols</B>()</PRE><DL><DD>Provides a list of all the symbols which can be used to represent this graphic. A symbol is an ExternalGraphic, Mark or any other object which implements the Symbol interface. These are returned in the order they were set.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/styling/Graphic.html#getSymbols()">getSymbols</A></CODE> in interface <CODE><A HREF="../../../org/geotools/styling/Graphic.html" title="interface in org.geotools.styling">Graphic</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>An array of symbols to use when displaying this Graphic. By         default, a "square" with 50% gray fill and black outline with a         size of 6 pixels (unless a size is specified) is provided.</DL></DD></DL><HR><A NAME="setSymbols(org.geotools.styling.Symbol[])"><!-- --></A><H3>setSymbols</H3><PRE>public void <B>setSymbols</B>(<A HREF="../../../org/geotools/styling/Symbol.html" title="interface in org.geotools.styling">Symbol</A>[]&nbsp;symbols)</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/styling/Graphic.html#setSymbols(org.geotools.styling.Symbol[])">setSymbols</A></CODE> in interface <CODE><A HREF="../../../org/geotools/styling/Graphic.html" title="interface in org.geotools.styling">Graphic</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="addSymbol(org.geotools.styling.Symbol)"><!-- --></A><H3>addSymbol</H3><PRE>public void <B>addSymbol</B>(<A HREF="../../../org/geotools/styling/Symbol.html" title="interface in org.geotools.styling">Symbol</A>&nbsp;symbol)</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/styling/Graphic.html#addSymbol(org.geotools.styling.Symbol)">addSymbol</A></CODE> in interface <CODE><A HREF="../../../org/geotools/styling/Graphic.html" title="interface in org.geotools.styling">Graphic</A></CODE></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 graphic.<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/Graphic.html#getOpacity()">getOpacity</A></CODE> in interface <CODE><A HREF="../../../org/geotools/styling/Graphic.html" title="interface in org.geotools.styling">Graphic</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The opacity of the Graphic, where 0.0 is completely transparent         and 1.0 is completely opaque.</DL></DD></DL><HR><A NAME="getRotation()"><!-- --></A><H3>getRotation</H3><PRE>public <A HREF="../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A> <B>getRotation</B>()</PRE><DL><DD>This parameter defines the rotation of a graphic in the clockwise direction about its centre point in decimal degrees. The value encoded as a floating point number.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/styling/Graphic.html#getRotation()">getRotation</A></CODE> in interface <CODE><A HREF="../../../org/geotools/styling/Graphic.html" title="interface in org.geotools.styling">Graphic</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The angle of rotation in decimal degrees. Negative values         represent counter-clockwise rotation.  The default is 0.0 (no         rotation).</DL></DD></DL><HR><A NAME="getSize()"><!-- --></A><H3>getSize</H3><PRE>public <A HREF="../../../org/geotools/filter/Expression.html" title="interface in org.geotools.filter">Expression</A> <B>getSize</B>()</PRE><DL><DD>This paramteter gives the absolute size of the graphic in pixels encoded as a floating point number.  <p> The default size of an image format (such as GIFD) is the inherent size of the image.  The default size of a format without an inherent size (such as SVG) is defined to be 16 pixels in height and the corresponding aspect in width.  If a size is specified, the height of the graphic will be scaled to that size and the corresponding aspect will be used for the width. </p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/styling/Graphic.html#getSize()">getSize</A></CODE> in interface <CODE><A HREF="../../../org/geotools/styling/Graphic.html" title="interface in org.geotools.styling">Graphic</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The size of the graphic, the default is context specific.         Negative values are not possible.</DL></DD></DL><HR><A NAME="getDisplacement()"><!-- --></A><H3>getDisplacement</H3><PRE>public <A HREF="../../../org/geotools/styling/Displacement.html" title="interface in org.geotools.styling">Displacement</A> <B>getDisplacement</B>()</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/styling/Graphic.html#getDisplacement()">getDisplacement</A></CODE> in interface <CODE><A HREF="../../../org/geotools/styling/Graphic.html" title="interface in org.geotools.styling">Graphic</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setDisplacement(org.geotools.styling.Displacement)"><!-- --></A><H3>setDisplacement</H3><PRE>public void <B>setDisplacement</B>(<A HREF="../../../org/geotools/styling/Displacement.html" title="interface in org.geotools.styling">Displacement</A>&nbsp;offset)</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/geotools/styling/Graphic.html#setDisplacement(org.geotools.styling.Displacement)">setDisplacement</A></CODE> in interface <CODE><A HREF="../../../org/geotools/styling/Graphic.html" title="interface in org.geotools.styling">Graphic</A></CODE></DL></DD><DD><DL></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>&nbsp;opacity)</PRE><DL><DD>Setter for property opacity.<P>

⌨️ 快捷键说明

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