📄 background.html
字号:
<!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Field Detail</B></FONT></TH></TR></TABLE><A NAME="ALLOW_APPLICATION_BOUNDS_READ"><!-- --></A><H3>ALLOW_APPLICATION_BOUNDS_READ</H3><PRE>public static final int <B>ALLOW_APPLICATION_BOUNDS_READ</B></PRE><DL><DD>Specifies that the Background allows read access to its application bounds and bounding leaf at runtime.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.Background.ALLOW_APPLICATION_BOUNDS_READ">Constant Field Values</A></DL></DL><HR><A NAME="ALLOW_APPLICATION_BOUNDS_WRITE"><!-- --></A><H3>ALLOW_APPLICATION_BOUNDS_WRITE</H3><PRE>public static final int <B>ALLOW_APPLICATION_BOUNDS_WRITE</B></PRE><DL><DD>Specifies that the Background allows write access to its application bounds and bounding leaf at runtime.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.Background.ALLOW_APPLICATION_BOUNDS_WRITE">Constant Field Values</A></DL></DL><HR><A NAME="ALLOW_IMAGE_READ"><!-- --></A><H3>ALLOW_IMAGE_READ</H3><PRE>public static final int <B>ALLOW_IMAGE_READ</B></PRE><DL><DD>Specifies that the Background allows read access to its image at runtime.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.Background.ALLOW_IMAGE_READ">Constant Field Values</A></DL></DL><HR><A NAME="ALLOW_IMAGE_WRITE"><!-- --></A><H3>ALLOW_IMAGE_WRITE</H3><PRE>public static final int <B>ALLOW_IMAGE_WRITE</B></PRE><DL><DD>Specifies that the Background allows write access to its image at runtime.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.Background.ALLOW_IMAGE_WRITE">Constant Field Values</A></DL></DL><HR><A NAME="ALLOW_COLOR_READ"><!-- --></A><H3>ALLOW_COLOR_READ</H3><PRE>public static final int <B>ALLOW_COLOR_READ</B></PRE><DL><DD>Specifies that the Background allows read access to its color at runtime.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.Background.ALLOW_COLOR_READ">Constant Field Values</A></DL></DL><HR><A NAME="ALLOW_COLOR_WRITE"><!-- --></A><H3>ALLOW_COLOR_WRITE</H3><PRE>public static final int <B>ALLOW_COLOR_WRITE</B></PRE><DL><DD>Specifies that the Background allows write access to its color at runtime.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.Background.ALLOW_COLOR_WRITE">Constant Field Values</A></DL></DL><HR><A NAME="ALLOW_GEOMETRY_READ"><!-- --></A><H3>ALLOW_GEOMETRY_READ</H3><PRE>public static final int <B>ALLOW_GEOMETRY_READ</B></PRE><DL><DD>Specifies that the Background allows read access to its background geometry at runtime.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.Background.ALLOW_GEOMETRY_READ">Constant Field Values</A></DL></DL><HR><A NAME="ALLOW_GEOMETRY_WRITE"><!-- --></A><H3>ALLOW_GEOMETRY_WRITE</H3><PRE>public static final int <B>ALLOW_GEOMETRY_WRITE</B></PRE><DL><DD>Specifies that the Background allows write access to its background geometry at runtime.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.Background.ALLOW_GEOMETRY_WRITE">Constant Field Values</A></DL></DL><HR><A NAME="ALLOW_IMAGE_SCALE_MODE_READ"><!-- --></A><H3>ALLOW_IMAGE_SCALE_MODE_READ</H3><PRE>public static final int <B>ALLOW_IMAGE_SCALE_MODE_READ</B></PRE><DL><DD>Specifies that the Background allows read access to its image scale mode at runtime.<P><DL><DT><B>Since:</B></DT> <DD>Java 3D 1.3</DD><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.Background.ALLOW_IMAGE_SCALE_MODE_READ">Constant Field Values</A></DL></DL><HR><A NAME="ALLOW_IMAGE_SCALE_MODE_WRITE"><!-- --></A><H3>ALLOW_IMAGE_SCALE_MODE_WRITE</H3><PRE>public static final int <B>ALLOW_IMAGE_SCALE_MODE_WRITE</B></PRE><DL><DD>Specifies that the Background allows write access to its image scale mode at runtime.<P><DL><DT><B>Since:</B></DT> <DD>Java 3D 1.3</DD><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.Background.ALLOW_IMAGE_SCALE_MODE_WRITE">Constant Field Values</A></DL></DL><HR><A NAME="SCALE_NONE"><!-- --></A><H3>SCALE_NONE</H3><PRE>public static final int <B>SCALE_NONE</B></PRE><DL><DD>Indicates that no scaling of the background image is done. The image will be drawn in its actual size. If the window is smaller than the image, the image will be clipped. If the window is larger than the image, the portion of the window not filled by the image will be filled with the background color. In all cases, the upper left corner of the image is anchored at the upper-left corner of the window. This is the default mode.<P><DL><DT><B>Since:</B></DT> <DD>Java 3D 1.3</DD><DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/Background.html#setImageScaleMode(int)"><CODE>setImageScaleMode(int)</CODE></A>, <A HREF="../../../constant-values.html#javax.media.j3d.Background.SCALE_NONE">Constant Field Values</A></DL></DL><HR><A NAME="SCALE_FIT_MIN"><!-- --></A><H3>SCALE_FIT_MIN</H3><PRE>public static final int <B>SCALE_FIT_MIN</B></PRE><DL><DD>Indicates that the background image is uniformly scaled to fit the window such that the entire image is visible. The image is scaled by the smaller of <code>window.width/image.width</code> and <code>window.height/image.height</code>. The image will exactly fill either the width or height of the window, but not necessarily both. The portion of the window not filled by the image will be filled with the background color. The upper left corner of the image is anchored at the upper-left corner of the window.<P><DL><DT><B>Since:</B></DT> <DD>Java 3D 1.3</DD><DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/Background.html#setImageScaleMode(int)"><CODE>setImageScaleMode(int)</CODE></A>, <A HREF="../../../constant-values.html#javax.media.j3d.Background.SCALE_FIT_MIN">Constant Field Values</A></DL></DL><HR><A NAME="SCALE_FIT_MAX"><!-- --></A><H3>SCALE_FIT_MAX</H3><PRE>public static final int <B>SCALE_FIT_MAX</B></PRE><DL><DD>Indicates that the background image is uniformly scaled to fit the window such that the entire window is filled. The image is scaled by the larger of <code>window.width/image.width</code> and <code>window.height/image.height</code>. The image will entirely fill the window, but may by clipped either in <i>X</i> or <i>Y</i>. The upper left corner of the image is anchored at the upper-left corner of the window.<P><DL><DT><B>Since:</B></DT> <DD>Java 3D 1.3</DD><DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/Background.html#setImageScaleMode(int)"><CODE>setImageScaleMode(int)</CODE></A>, <A HREF="../../../constant-values.html#javax.media.j3d.Background.SCALE_FIT_MAX">Constant Field Values</A></DL></DL><HR><A NAME="SCALE_FIT_ALL"><!-- --></A><H3>SCALE_FIT_ALL</H3><PRE>public static final int <B>SCALE_FIT_ALL</B></PRE><DL><DD>Indicates that the background image is scaled to fit the window. The image is scaled non-uniformly in <i>x</i> and <i>y</i> by <code>window.width/image.width</code> and and <code>window.height/image.height</code>, respectively. The image will entirely fill the window.<P><DL><DT><B>Since:</B></DT> <DD>Java 3D 1.3</DD><DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/Background.html#setImageScaleMode(int)"><CODE>setImageScaleMode(int)</CODE></A>, <A HREF="../../../constant-values.html#javax.media.j3d.Background.SCALE_FIT_ALL">Constant Field Values</A></DL></DL><HR><A NAME="SCALE_REPEAT"><!-- --></A><H3>SCALE_REPEAT</H3><PRE>public static final int <B>SCALE_REPEAT</B></PRE><DL><DD>Indicates that the background image is tiled to fill the entire window. The image is not scaled. The upper left corner of the image is anchored at the upper-left corner of the window.<P><DL><DT><B>Since:</B></DT> <DD>Java 3D 1.3</DD><DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/Background.html#setImageScaleMode(int)"><CODE>setImageScaleMode(int)</CODE></A>, <A HREF="../../../constant-values.html#javax.media.j3d.Background.SCALE_REPEAT">Constant Field Values</A></DL></DL><HR><A NAME="SCALE_NONE_CENTER"><!-- --></A><H3>SCALE_NONE_CENTER</H3><PRE>public static final int <B>SCALE_NONE_CENTER</B></PRE><DL><DD>Indicates that the background image is centered in the window and that no scaling of the image is done. The image will be drawn in its actual size. If the window is smaller than the image, the image will be clipped. If the window is larger than the image, the portion of the window not filled by the image will be filled with the background color.<P><DL><DT><B>Since:</B></DT> <DD>Java 3D 1.3</DD><DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/Background.html#setImageScaleMode(int)"><CODE>setImageScaleMode(int)</CODE></A>, <A HREF="../../../constant-values.html#javax.media.j3d.Background.SCALE_NONE_CENTER">Constant Field Values</A></DL></DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -