📄 transformmatrix.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 TransformMatrix</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/TransformMatrix.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/TickleNode.html"><B>PREV CLASS</B></A> <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> <A HREF="TransformMatrix.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#field_summary">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: <A HREF="#field_detail">FIELD</A> | <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 TransformMatrix</H2><PRE>java.lang.Object | +--<B>quicktime.app.actions.TransformMatrix</B></PRE><DL><DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../quicktime/app/actions/TranslateMatrix.html">TranslateMatrix</A></DD></DL><HR><DL><DT>public abstract class <B>TransformMatrix</B><DT>extends java.lang.Object</DL><P>This class provides a standard mechanism for applying matrix manipulations to a Transformable target and supporting constraint bounding of the target's location after its matrix is altered. <P> The class presents two modes of operations, depending on which initialize and transformMatrix methods are applied and the class is generally used with this pairing. The notes for the initialize and transformMatrix methods document these usages. <P> A subclass defines the abstract methods to apply the particular transformation logic that they want to apply. If the kNoConstraint flag is applied then no constraints testing is done to keep the specified Transformable target constrained within the bounds of its enclosing space.<P><HR><P><!-- ======== INNER CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><A NAME="field_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Field Summary</B></FONT></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#kBottomSide">kBottomSide</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>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/TransformMatrix.html#kConstraintSpecifiedAll">kConstraintSpecifiedAll</A></B></CODE><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>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/TransformMatrix.html#kConstraintSpecifiedBottom">kConstraintSpecifiedBottom</A></B></CODE><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>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/TransformMatrix.html#kConstraintSpecifiedHorizontal">kConstraintSpecifiedHorizontal</A></B></CODE><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>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/TransformMatrix.html#kConstraintSpecifiedLeft">kConstraintSpecifiedLeft</A></B></CODE><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>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/TransformMatrix.html#kConstraintSpecifiedRight">kConstraintSpecifiedRight</A></B></CODE><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>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/TransformMatrix.html#kConstraintSpecifiedTop">kConstraintSpecifiedTop</A></B></CODE><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>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/TransformMatrix.html#kConstraintSpecifiedVertical">kConstraintSpecifiedVertical</A></B></CODE><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>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/TransformMatrix.html#kConstrainWithinAll">kConstrainWithinAll</A></B></CODE><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>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/TransformMatrix.html#kConstrainWithinBottom">kConstrainWithinBottom</A></B></CODE><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>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/TransformMatrix.html#kConstrainWithinHorizontal">kConstrainWithinHorizontal</A></B></CODE><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>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/TransformMatrix.html#kConstrainWithinLeft">kConstrainWithinLeft</A></B></CODE><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>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/TransformMatrix.html#kConstrainWithinRight">kConstrainWithinRight</A></B></CODE><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>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/TransformMatrix.html#kConstrainWithinTop">kConstrainWithinTop</A></B></CODE><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>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/TransformMatrix.html#kConstrainWithinVertical">kConstrainWithinVertical</A></B></CODE><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#kLeftSide">kLeftSide</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>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/actions/TransformMatrix.html#kNoConstraint">kNoConstraint</A></B></CODE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -