📄 transformmatrix.html
字号:
<BR> Use these as constraint flags to restrict transformations that relocated the the target within its space.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/TransformMatrix.html#kRightSide">kRightSide</A></B></CODE><BR> Used to nofify subclasses that the applied transformations have exceeded one of the sides of the enclosing space of the Transformable target.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/TransformMatrix.html#kTopSide">kTopSide</A></B></CODE><BR> Used to nofify subclasses that the applied transformations have exceeded one of the sides of the enclosing space of the Transformable target.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/TransformMatrix.html#specifiedBottomConstraint">specifiedBottomConstraint</A></B></CODE><BR> Specify the number of pixels that the target is constrained to when it is positioned beyond the bottom side.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/TransformMatrix.html#specifiedLeftConstraint">specifiedLeftConstraint</A></B></CODE><BR> Specify the number of pixels that the target is constrained to when it is positioned beyond the left hand side.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/TransformMatrix.html#specifiedRightConstraint">specifiedRightConstraint</A></B></CODE><BR> Specify the number of pixels that the target is constrained to when it is positioned beyond the right hand side.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/TransformMatrix.html#specifiedTopConstraint">specifiedTopConstraint</A></B></CODE><BR> Specify the number of pixels that the target is constrained to when it is positioned beyond the top side.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../quicktime/app/image/Transformable.html">Transformable</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/TransformMatrix.html#target">target</A></B></CODE><BR> This is the Transformable target (which MUST be a member of the space) of the TransformMatrix action.</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 ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected </CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/TransformMatrix.html#TransformMatrix()">TransformMatrix</A></B>()</CODE><BR> Create a TransformMatrix class</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/TransformMatrix.html#boundsReached(int)">boundsReached</A></B>(int whichSide)</CODE><BR> This method is called whenever a constraints test hits one of the sides of the enclosing space.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected abstract void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/TransformMatrix.html#doTransformation(quicktime.std.image.Matrix)">doTransformation</A></B>(<A HREF="../../../quicktime/std/image/Matrix.html">Matrix</A> theMatrix)</CODE><BR> Applies the transformation of the Matrix.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected abstract void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/TransformMatrix.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 transformation of the Matrix.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/TransformMatrix.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object obj)</CODE><BR> Returns true if the incoming object is a Matrix action with the same target.</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/TransformMatrix.html#flipTransformationSettings()">flipTransformationSettings</A></B>()</CODE><BR> If a subclass is applying specified transformations to a matrix, then it should negate the value of these pre-defined transformation values.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/TransformMatrix.html#getConstraint()">getConstraint</A></B>()</CODE><BR> Returns the current constraint setting</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/app/image/Transformable.html">Transformable</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/TransformMatrix.html#getTarget()">getTarget</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/TransformMatrix.html#initialize(quicktime.app.display.QTDisplaySpace, quicktime.app.image.Transformable)">initialize</A></B>(<A HREF="../../../quicktime/app/display/QTDisplaySpace.html">QTDisplaySpace</A> space, <A HREF="../../../quicktime/app/image/Transformable.html">Transformable</A> memberTarget)</CODE><BR> This method is called to initialize the TransformMatrix operation.</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/TransformMatrix.html#initialize(quicktime.app.display.QTDisplaySpace, quicktime.app.image.Transformable, int, int)">initialize</A></B>(<A HREF="../../../quicktime/app/display/QTDisplaySpace.html">QTDisplaySpace</A> space, <A HREF="../../../quicktime/app/image/Transformable.html">Transformable</A> memberTarget, int x, int y)</CODE><BR> This method is called to initialize the TransformMatrix operation.</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/TransformMatrix.html#setConstraint(int)">setConstraint</A></B>(int flag)</CODE><BR> Using the constrain constants transformation of the target's matrix can be constrained in any direction.</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/app/actions/TransformMatrix.html#toString()">toString</A></B>()</CODE><BR> Return a string representation of this class.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/TransformMatrix.html#transformTarget()">transformTarget</A></B>()</CODE><BR> This method will apply the transformation matrix to the target.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/TransformMatrix.html#transformTarget(int, int)">transformTarget</A></B>(int newX, int newY)</CODE><BR> This method will apply the transformation matrix to the target.</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>clone, finalize, 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="kLeftSide"><!-- --></A><H3>kLeftSide</H3><PRE>protected static final int <B>kLeftSide</B></PRE><DL><DD>Used to nofify subclasses that the applied transformations have exceeded one of the sides of the enclosing space of the Transformable target.</DL><HR><A NAME="kRightSide"><!-- --></A><H3>kRightSide</H3><PRE>protected static final int <B>kRightSide</B></PRE><DL><DD>Used to nofify subclasses that the applied transformations have exceeded one of the sides of the enclosing space of the Transformable target.</DL><HR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -