📄 mediaparams.html
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/streaming/MediaParams.html#setClip(quicktime.qd.Region)">setClip</A></B>(<A HREF="../../quicktime/qd/Region.html">Region</A> clip)</CODE><BR> Sets the clip region of the video component</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/streaming/MediaParams.html#setFrequencyBands(quicktime.util.QTPointer)">setFrequencyBands</A></B>(<A HREF="../../quicktime/util/QTPointer.html">QTPointer</A> bands)</CODE><BR> Sets the frequency bands assoicated with the sound media</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/streaming/MediaParams.html#setGDHandle(quicktime.qd.GDevice)">setGDHandle</A></B>(<A HREF="../../quicktime/qd/GDevice.html">GDevice</A> gdh)</CODE><BR> Sets the graphics device used by the video media</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/streaming/MediaParams.html#setGraphicsMode(int)">setGraphicsMode</A></B>(int graphicsMode)</CODE><BR> Sets the graphics display mode of the video component</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/streaming/MediaParams.html#setGWorld(quicktime.qd.QDGraphics)">setGWorld</A></B>(<A HREF="../../quicktime/qd/QDGraphics.html">QDGraphics</A> g)</CODE><BR> Sets the offscreen graphics world used by the video media</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/streaming/MediaParams.html#setHeight(float)">setHeight</A></B>(float h)</CODE><BR> Sets the height of the video component</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/streaming/MediaParams.html#setLeftVolume(int)">setLeftVolume</A></B>(int leftVol)</CODE><BR> Sets the left volume of the sound</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/streaming/MediaParams.html#setLevelMeteringEnabled(boolean)">setLevelMeteringEnabled</A></B>(boolean meteringEnabled)</CODE><BR> Determines whethere the level metering is enabled or disabled</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/streaming/MediaParams.html#setMatrix(quicktime.std.image.Matrix)">setMatrix</A></B>(<A HREF="../../quicktime/std/image/Matrix.html">Matrix</A> m)</CODE><BR> Sets the matrix associated with the video component</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/streaming/MediaParams.html#setOpColor(quicktime.qd.QDColor)">setOpColor</A></B>(<A HREF="../../quicktime/qd/QDColor.html">QDColor</A> color)</CODE><BR> Sets the operand color associated with the graphics mode of the video component</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/streaming/MediaParams.html#setRightVolume(int)">setRightVolume</A></B>(int rightVol)</CODE><BR> Sets the right volume of the sound</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/streaming/MediaParams.html#setTrebleLevel(int)">setTrebleLevel</A></B>(int trebleLvl)</CODE><BR> Sets the treble level of the sound media</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/streaming/MediaParams.html#setVolumes(int, int)">setVolumes</A></B>(int left, int right)</CODE><BR> Sets the right and left volumes of the sound media</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/streaming/MediaParams.html#setWidth(float)">setWidth</A></B>(float w)</CODE><BR> Sets the width of the video component</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/streaming/MediaParams.html#toString()">toString</A></B>()</CODE><BR> Returns a string representation of this object.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_quicktime.util.QTPointerRef"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.util.<A HREF="../../quicktime/util/QTPointerRef.html">QTPointerRef</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../quicktime/util/QTPointerRef.html#copyFromArray(int, byte[], int, int)">copyFromArray</A>, <A HREF="../../quicktime/util/QTPointerRef.html#copyFromArray(int, char[], int, int)">copyFromArray</A>, <A HREF="../../quicktime/util/QTPointerRef.html#copyFromArray(int, double[], int, int)">copyFromArray</A>, <A HREF="../../quicktime/util/QTPointerRef.html#copyFromArray(int, float[], int, int)">copyFromArray</A>, <A HREF="../../quicktime/util/QTPointerRef.html#copyFromArray(int, int[], int, int)">copyFromArray</A>, <A HREF="../../quicktime/util/QTPointerRef.html#copyFromArray(int, long[], int, int)">copyFromArray</A>, <A HREF="../../quicktime/util/QTPointerRef.html#copyFromArray(int, short[], int, int)">copyFromArray</A>, <A HREF="../../quicktime/util/QTPointerRef.html#copyToArray(int, byte[], int, int)">copyToArray</A>, <A HREF="../../quicktime/util/QTPointerRef.html#copyToArray(int, char[], int, int)">copyToArray</A>, <A HREF="../../quicktime/util/QTPointerRef.html#copyToArray(int, double[], int, int)">copyToArray</A>, <A HREF="../../quicktime/util/QTPointerRef.html#copyToArray(int, float[], int, int)">copyToArray</A>, <A HREF="../../quicktime/util/QTPointerRef.html#copyToArray(int, int[], int, int)">copyToArray</A>, <A HREF="../../quicktime/util/QTPointerRef.html#copyToArray(int, long[], int, int)">copyToArray</A>, <A HREF="../../quicktime/util/QTPointerRef.html#copyToArray(int, short[], int, int)">copyToArray</A>, <A HREF="../../quicktime/util/QTPointerRef.html#getBytes()">getBytes</A>, <A HREF="../../quicktime/util/QTPointerRef.html#getSize()">getSize</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_quicktime.QTObject"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.<A HREF="../../quicktime/QTObject.html">QTObject</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../quicktime/QTObject.html#disposeQTObject()">disposeQTObject</A>, <A HREF="../../quicktime/QTObject.html#equals(java.lang.Object)">equals</A>, <A HREF="../../quicktime/QTObject.html#ID(quicktime.QTObject)">ID</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="kNativeSize"><!-- --></A><H3>kNativeSize</H3><PRE>public static final int <B>kNativeSize</B></PRE><DL><DD>This is the size of this class</DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="MediaParams()"><!-- --></A><H3>MediaParams</H3><PRE>public <B>MediaParams</B>() throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Constructs the class with a reasonable default values: Width and Height are set to 0 Matrix is set to the Identity Matrix The gdHandle is set to the Main Device The graphicsMode is set to ditherCopy The opColor is set to black Right and left volumes are set to their maximums LevelMeteringEnabled is set to false</DL><HR><A NAME="MediaParams(quicktime.qd.QDDimension, quicktime.qd.QDGraphics)"><!-- --></A><H3>MediaParams</H3><PRE>public <B>MediaParams</B>(<A HREF="../../quicktime/qd/QDDimension.html">QDDimension</A> dim, <A HREF="../../quicktime/qd/QDGraphics.html">QDGraphics</A> g) throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Creates a MediaParams object from a dimension and gWorld<DD><DL><DT><B>Parameters:</B><DD><CODE>dim</CODE> - QDDimension representing height and width of media object<DD><CODE>g</CODE> - QDGraphics object representing the gWorld where the Media will be displayed</DL></DD></DL><HR><A NAME="MediaParams(quicktime.qd.QDDimension, quicktime.std.image.Matrix, quicktime.qd.QDGraphics, int, int, int, int)"><!-- --></A><H3>MediaParams</H3><PRE>public <B>MediaParams</B>(<A HREF="../../quicktime/qd/QDDimension.html">QDDimension</A> dim, <A HREF="../../quicktime/std/image/Matrix.html">Matrix</A> matrix, <A HREF="../../quicktime/qd/QDGraphics.html">QDGraphics</A> g, int lVol, int rVol, int bassLvl, int trebLvl) throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Creates a MediaParams object<DD><DL><DT><B>Parameters:</B><DD><CODE>dim</CODE> - QDDimension representing height and width of media object<DD><CODE>matrix</CODE> - Matrix associated with the video presenter<DD><CODE>g</CODE> - QDGraphics object representing the gWorld where the Media will be displayed<DD><CODE>lVol</CODE> - left volume of the audio<DD><CODE>rVol</CODE> - right volume of the audio<DD><CODE>bassLvl</CODE> - bass level of the audio<DD><CODE>trebLvl</CODE> - treble level of the audio</DL></DD></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="setWidth(float)"><!-- --></A><H3>setWidth</H3><PRE>public void <B>setWidth</B>(float w)</PRE><DL><DD>Sets the width of the video component<DD><DL><DT><B>Parameters:</B><DD><CODE>w</CODE> - width</DL></DD></DL><HR><A NAME="getWidth()"><!-- --></A><H3>getWidth</H3><PRE>public float <B>getWidth</B>()</PRE><DL><DD>gets the width of the video component</DL><HR><A NAME="setHeight(float)"><!-- --></A><H3>setHeight</H3><PRE>public void <B>setHeight</B>(float h)</PRE><DL><DD>Sets the height of the video component<DD><DL><DT><B>Parameters:</B><DD><CODE>g</CODE> - height</DL></DD></DL><HR><A NAME="getHeight()"><!-- --></A><H3>getHeight</H3><PRE>public float <B>getHeight</B>()</PRE><DL><DD>gets the height of the video component</DL><HR><A NAME="setMatrix(quicktime.std.image.Matrix)"><!-- --></A><H3>setMatrix</H3><PRE>public void <B>setMatrix</B>(<A HREF="../../quicktime/std/image/Matrix.html">Matrix</A> m)</PRE><DL><DD>Sets the matrix associated with the video component<DD><DL><DT><B>Parameters:</B><DD><CODE>m</CODE> - Matrix</DL></DD></DL><HR><A NAME="getMatrix()"><!-- --></A><H3>getMatrix</H3><PRE>public <A HREF="../../quicktime/std/image/Matrix.html">Matrix</A> <B>getMatrix</B>()</PRE><DL><DD>gets the matrix of the video component</DL><HR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -