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

📄 transformmatrix.html

📁 这个是java的quicktime for java 的详细使用文档
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<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="TransformMatrix()"><!-- --></A><H3>TransformMatrix</H3><PRE>protected <B>TransformMatrix</B>()</PRE><DL><DD>Create a TransformMatrix class</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="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Return a string representation of this class.<DD><DL><DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object&nbsp;obj)</PRE><DL><DD>Returns true if the incoming object is a Matrix action with the same target.<DD><DL><DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>obj</CODE> - the object to test<DT><B>Returns:</B><DD>true if equal, false if not</DL></DD></DL><HR><A NAME="getTarget()"><!-- --></A><H3>getTarget</H3><PRE>public <A HREF="../../../quicktime/app/image/Transformable.html">Transformable</A> <B>getTarget</B>()</PRE><DL><DD><DL><DT><B>Returns:</B><DD>the current target of this object.</DL></DD></DL><HR><A NAME="setConstraint(int)"><!-- --></A><H3>setConstraint</H3><PRE>public void <B>setConstraint</B>(int&nbsp;flag)</PRE><DL><DD>Using the constrain constants transformation of the target's matrix can be constrained in any direction.<DD><DL><DT><B>Parameters:</B><DD><CODE>flag</CODE> - constraint flag</DL></DD></DL><HR><A NAME="getConstraint()"><!-- --></A><H3>getConstraint</H3><PRE>public int <B>getConstraint</B>()</PRE><DL><DD>Returns the current constraint setting</DL><HR><A NAME="initialize(quicktime.app.display.QTDisplaySpace, quicktime.app.image.Transformable)"><!-- --></A><H3>initialize</H3><PRE>public void <B>initialize</B>(<A HREF="../../../quicktime/app/display/QTDisplaySpace.html">QTDisplaySpace</A>&nbsp;space,                       <A HREF="../../../quicktime/app/image/Transformable.html">Transformable</A>&nbsp;memberTarget)                throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method is called to initialize the TransformMatrix operation. Typically this is  used with the transformMatrix (Matrix) call. This version of the initialize call is used used with the MatrixAction class that applies some kind of transformation in the matrix each time that action is tickled. <P> The TransformMatrix operation need only be initialized when the space itself changes its size.  <UL> <LI>For a Compositor the initialization with this usage need only be done once as the class will convert all constraints testing to the coordinate space of the Compositor's back buffer <LI>For a DirectGroup each time the group changes its size the TransformMatrix must be reinitialized if constraint testing is performed. </UL><DD><DL><DT><B>Parameters:</B><DD><CODE>space</CODE> - the space which the Transformable object is a member of.<DD><CODE>target</CODE> - the target member of the specified space.</DL></DD></DL><HR><A NAME="initialize(quicktime.app.display.QTDisplaySpace, quicktime.app.image.Transformable, int, int)"><!-- --></A><H3>initialize</H3><PRE>public void <B>initialize</B>(<A HREF="../../../quicktime/app/display/QTDisplaySpace.html">QTDisplaySpace</A>&nbsp;space,                       <A HREF="../../../quicktime/app/image/Transformable.html">Transformable</A>&nbsp;memberTarget,                       int&nbsp;x,                       int&nbsp;y)                throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method is called to initialize the TransformMatrix operation. Typically this is  used with the transformMatrix (Matrix, int deltaX, int deltaY) call. This version of the initialize call is used used with the DragAction where each time the user selects an object to drag the TransformMatrix is reinitialized.<DD><DL><DT><B>Parameters:</B><DD><CODE>space</CODE> - the space which the Transformable object is a member of.<DD><CODE>target</CODE> - the target member of the specified space.<DD><CODE>x</CODE> - the x-origin about which the transformation is applied. In consequent calls to the  transformMatrix (Matrix, int deltaX, int deltaY) method, the deltaX value is a delta from this specified origin.<DD><CODE>y</CODE> - the y-origin about which the transformation is applied. In consequent calls to the  transformMatrix (Matrix, int deltaX, int deltaY) method, the deltaY value is a delta from this specified origin.</DL></DD></DL><HR><A NAME="transformTarget()"><!-- --></A><H3>transformTarget</H3><PRE>public boolean <B>transformTarget</B>()                        throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method will apply the transformation matrix to the target. It will call the doTransformation (Matrix) method.<DD><DL><DT><B>Returns:</B><DD>true if the this transformation reached a constraining condition</DL></DD></DL><HR><A NAME="transformTarget(int, int)"><!-- --></A><H3>transformTarget</H3><PRE>public boolean <B>transformTarget</B>(int&nbsp;newX,                               int&nbsp;newY)                        throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method will apply the transformation matrix to the target. It will call the doTransformation (Matrix, int deltaX, int deltaY) method.<DD><DL><DT><B>Parameters:</B><DD><CODE>newX</CODE> - the new x position expressed in the local coordinates of the space.<DD><CODE>newY</CODE> - the new y position expressed in the local coordinates of the space.<DT><B>Returns:</B><DD>true if the this transformation reached a constraining condition</DL></DD></DL><HR><A NAME="flipTransformationSettings()"><!-- --></A><H3>flipTransformationSettings</H3><PRE>public void <B>flipTransformationSettings</B>()</PRE><DL><DD>If a subclass is applying specified transformations to a matrix, then it should negate the value of these pre-defined transformation values. This is used in conjunction with the transformMatrix usage.</DL><HR><A NAME="doTransformation(quicktime.std.image.Matrix, int, int)"><!-- --></A><H3>doTransformation</H3><PRE>protected abstract void <B>doTransformation</B>(<A HREF="../../../quicktime/std/image/Matrix.html">Matrix</A>&nbsp;theMatrix,                                         int&nbsp;deltaX,                                         int&nbsp;deltaY)                                  throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Applies the transformation of the Matrix.<DD><DL><DT><B>Parameters:</B><DD><CODE>theMatrix</CODE> - The matrix handed in is the <b>original</b> matrix of the target when the TransformMatrix object was initialized.<DD><CODE>deltaX</CODE> - the difference between the original x point when the TransformMatrix object was initialized and the current location.<DD><CODE>deltaY</CODE> - the difference between the original y point when the TransformMatrix object was initialized and the current location.</DL></DD></DL><HR><A NAME="doTransformation(quicktime.std.image.Matrix)"><!-- --></A><H3>doTransformation</H3><PRE>protected abstract void <B>doTransformation</B>(<A HREF="../../../quicktime/std/image/Matrix.html">Matrix</A>&nbsp;theMatrix)                                  throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Applies the transformation of the Matrix.<DD><DL><DT><B>Parameters:</B><DD><CODE>theMatrix</CODE> - The matrix handed in is the <b>current</b> matrix of the target.</DL></DD></DL><HR><A NAME="boundsReached(int)"><!-- --></A><H3>boundsReached</H3><PRE>protected void <B>boundsReached</B>(int&nbsp;whichSide)</PRE><DL><DD>This method is called whenever a constraints test hits one of the sides of the enclosing space.<DD><DL><DT><B>Parameters:</B><DD><CODE>whichSide</CODE> - indicates which side the constraints test hit.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/TransformMatrix.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../quicktime/app/actions/TickleNode.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../quicktime/app/actions/TranslateMatrix.html"><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>  &nbsp;&nbsp;<A HREF="TransformMatrix.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>

⌨️ 快捷键说明

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