📄 translatematrix.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc on Mon Jul 15 11:49:45 PDT 2002 --><TITLE>: Class TranslateMatrix</TITLE><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"></HEAD><BODY BGCOLOR="white"><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_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> </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/TranslateMatrix.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="../../../quicktime/app/actions/TransformMatrix.html"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="TranslateMatrix.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#fields_inherited_from_class_quicktime.app.actions.TransformMatrix">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><!-- =========== END OF NAVBAR =========== --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">quicktime.app.actions</FONT><BR>Class TranslateMatrix</H2><PRE>java.lang.Object | +--<A HREF="../../../quicktime/app/actions/TransformMatrix.html">quicktime.app.actions.TransformMatrix</A> | +--<B>quicktime.app.actions.TranslateMatrix</B></PRE><HR><DL><DT>public class <B>TranslateMatrix</B><DT>extends <A HREF="../../../quicktime/app/actions/TransformMatrix.html">TransformMatrix</A></DL><P>This class applies a matrix translation on the Transformable target.<P><HR><P><!-- ======== INNER CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><A NAME="fields_inherited_from_class_quicktime.app.actions.TransformMatrix"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from class quicktime.app.actions.<A HREF="../../../quicktime/app/actions/TransformMatrix.html">TransformMatrix</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/app/actions/TransformMatrix.html#kBottomSide">kBottomSide</A>, <A HREF="../../../quicktime/app/actions/TransformMatrix.html#kConstraintSpecifiedAll">kConstraintSpecifiedAll</A>, <A HREF="../../../quicktime/app/actions/TransformMatrix.html#kConstraintSpecifiedBottom">kConstraintSpecifiedBottom</A>, <A HREF="../../../quicktime/app/actions/TransformMatrix.html#kConstraintSpecifiedHorizontal">kConstraintSpecifiedHorizontal</A>, <A HREF="../../../quicktime/app/actions/TransformMatrix.html#kConstraintSpecifiedLeft">kConstraintSpecifiedLeft</A>, <A HREF="../../../quicktime/app/actions/TransformMatrix.html#kConstraintSpecifiedRight">kConstraintSpecifiedRight</A>, <A HREF="../../../quicktime/app/actions/TransformMatrix.html#kConstraintSpecifiedTop">kConstraintSpecifiedTop</A>, <A HREF="../../../quicktime/app/actions/TransformMatrix.html#kConstraintSpecifiedVertical">kConstraintSpecifiedVertical</A>, <A HREF="../../../quicktime/app/actions/TransformMatrix.html#kConstrainWithinAll">kConstrainWithinAll</A>, <A HREF="../../../quicktime/app/actions/TransformMatrix.html#kConstrainWithinBottom">kConstrainWithinBottom</A>, <A HREF="../../../quicktime/app/actions/TransformMatrix.html#kConstrainWithinHorizontal">kConstrainWithinHorizontal</A>, <A HREF="../../../quicktime/app/actions/TransformMatrix.html#kConstrainWithinLeft">kConstrainWithinLeft</A>, <A HREF="../../../quicktime/app/actions/TransformMatrix.html#kConstrainWithinRight">kConstrainWithinRight</A>, <A HREF="../../../quicktime/app/actions/TransformMatrix.html#kConstrainWithinTop">kConstrainWithinTop</A>, <A HREF="../../../quicktime/app/actions/TransformMatrix.html#kConstrainWithinVertical">kConstrainWithinVertical</A>, <A HREF="../../../quicktime/app/actions/TransformMatrix.html#kLeftSide">kLeftSide</A>, <A HREF="../../../quicktime/app/actions/TransformMatrix.html#kNoConstraint">kNoConstraint</A>, <A HREF="../../../quicktime/app/actions/TransformMatrix.html#kRightSide">kRightSide</A>, <A HREF="../../../quicktime/app/actions/TransformMatrix.html#kTopSide">kTopSide</A>, <A HREF="../../../quicktime/app/actions/TransformMatrix.html#specifiedBottomConstraint">specifiedBottomConstraint</A>, <A HREF="../../../quicktime/app/actions/TransformMatrix.html#specifiedLeftConstraint">specifiedLeftConstraint</A>, <A HREF="../../../quicktime/app/actions/TransformMatrix.html#specifiedRightConstraint">specifiedRightConstraint</A>, <A HREF="../../../quicktime/app/actions/TransformMatrix.html#specifiedTopConstraint">specifiedTopConstraint</A>, <A HREF="../../../quicktime/app/actions/TransformMatrix.html#target">target</A></CODE></TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../quicktime/app/actions/TranslateMatrix.html#TranslateMatrix()">TranslateMatrix</A></B>()</CODE><BR> Create a TranslateMatrix object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../quicktime/app/actions/TranslateMatrix.html#TranslateMatrix(float, float)">TranslateMatrix</A></B>(float deltaX, float deltaY)</CODE><BR> Create a TranslateMatrix object.</TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/TranslateMatrix.html#boundsReached(int)">boundsReached</A></B>(int whichSide)</CODE><BR> Flips the delta values to achieve a "Bounce" type action when a constraining condition is reached.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/TranslateMatrix.html#doTransformation(quicktime.std.image.Matrix)">doTransformation</A></B>(<A HREF="../../../quicktime/std/image/Matrix.html">Matrix</A> theMatrix)</CODE><BR> Applies the preset delta values to the incoming matrix.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/TranslateMatrix.html#doTransformation(quicktime.std.image.Matrix, int, int)">doTransformation</A></B>(<A HREF="../../../quicktime/std/image/Matrix.html">Matrix</A> theMatrix, int deltaX, int deltaY)</CODE><BR> Applies the specified delta values to the incoming matrix.</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/app/actions/TranslateMatrix.html#flipTransformationSettings()">flipTransformationSettings</A></B>()</CODE><BR> Flips the delta values to ensure that a MatrixAction usage of this class will translate correctly when the rate at which the matrix action is invoked changes direction.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> float</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/TranslateMatrix.html#getDeltaX()">getDeltaX</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> float</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/TranslateMatrix.html#getDeltaY()">getDeltaY</A></B>()</CODE><BR> </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/app/actions/TranslateMatrix.html#setDeltaX(float)">setDeltaX</A></B>(float x)</CODE><BR> </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/app/actions/TranslateMatrix.html#setDeltaY(float)">setDeltaY</A></B>(float y)</CODE><BR> </TD></TR></TABLE> <A NAME="methods_inherited_from_class_quicktime.app.actions.TransformMatrix"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.app.actions.<A HREF="../../../quicktime/app/actions/TransformMatrix.html">TransformMatrix</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/app/actions/TransformMatrix.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../quicktime/app/actions/TransformMatrix.html#getConstraint()">getConstraint</A>, <A HREF="../../../quicktime/app/actions/TransformMatrix.html#getTarget()">getTarget</A>, <A HREF="../../../quicktime/app/actions/TransformMatrix.html#initialize(quicktime.app.display.QTDisplaySpace, quicktime.app.image.Transformable)">initialize</A>, <A HREF="../../../quicktime/app/actions/TransformMatrix.html#initialize(quicktime.app.display.QTDisplaySpace, quicktime.app.image.Transformable, int, int)">initialize</A>, <A HREF="../../../quicktime/app/actions/TransformMatrix.html#setConstraint(int)">setConstraint</A>, <A HREF="../../../quicktime/app/actions/TransformMatrix.html#toString()">toString</A>, <A HREF="../../../quicktime/app/actions/TransformMatrix.html#transformTarget()">transformTarget</A>, <A HREF="../../../quicktime/app/actions/TransformMatrix.html#transformTarget(int, int)">transformTarget</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">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -