affinetransform.html
来自「API資料大全」· HTML 代码 · 共 1,328 行 · 第 1/5 页
HTML
1,328 行
Constructs a new <code>AffineTransform</code> from 6 floating point values representing the 6 specifiable entries of the 3x3 transformation matrix.</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> <A HREF="../../../java/lang/Object.html">Object</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/AffineTransform.html#clone()">clone</A></B>()</CODE><BR> Returns a copy of this <code>AffineTransform</code> object.</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="../../../java/awt/geom/AffineTransform.html#concatenate(java.awt.geom.AffineTransform)">concatenate</A></B>(<A HREF="../../../java/awt/geom/AffineTransform.html">AffineTransform</A> Tx)</CODE><BR> Concatenates an <code>AffineTransform</code> <code>Tx</code> to this <code>AffineTransform</code> Cx in the most commonly useful way to provide a new user space that is mapped to the former user space by <code>Tx</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/awt/geom/AffineTransform.html">AffineTransform</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/AffineTransform.html#createInverse()">createInverse</A></B>()</CODE><BR> Returns an <code>AffineTransform</code> object representing the inverse transformation.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/awt/Shape.html">Shape</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/AffineTransform.html#createTransformedShape(java.awt.Shape)">createTransformedShape</A></B>(<A HREF="../../../java/awt/Shape.html">Shape</A> pSrc)</CODE><BR> Returns a new <A HREF="../../../java/awt/Shape.html"><CODE>Shape</CODE></A> object defined by the geometry of the specified <code>Shape</code> after it has been transformed by this transform.</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="../../../java/awt/geom/AffineTransform.html#deltaTransform(double[], int, double[], int, int)">deltaTransform</A></B>(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)</CODE><BR> Transforms an array of relative distance vectors by this transform.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/awt/geom/Point2D.html">Point2D</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/AffineTransform.html#deltaTransform(java.awt.geom.Point2D, java.awt.geom.Point2D)">deltaTransform</A></B>(<A HREF="../../../java/awt/geom/Point2D.html">Point2D</A> ptSrc, <A HREF="../../../java/awt/geom/Point2D.html">Point2D</A> ptDst)</CODE><BR> Transforms the relative distance vector specified by <code>ptSrc</code> and stores the result in <code>ptDst</code>.</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="../../../java/awt/geom/AffineTransform.html#equals(java.lang.Object)">equals</A></B>(<A HREF="../../../java/lang/Object.html">Object</A> obj)</CODE><BR> Returns <code>true</code> if this <code>AffineTransform</code> represents the same affine coordinate transform as the specified argument.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/AffineTransform.html#getDeterminant()">getDeterminant</A></B>()</CODE><BR> Returns the determinant of the matrix representation of the transform.</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="../../../java/awt/geom/AffineTransform.html#getMatrix(double[])">getMatrix</A></B>(double[] flatmatrix)</CODE><BR> Retrieves the 6 specifiable values in the 3x3 affine transformation matrix and places them into an array of double precisions values.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../java/awt/geom/AffineTransform.html">AffineTransform</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/AffineTransform.html#getRotateInstance(double)">getRotateInstance</A></B>(double theta)</CODE><BR> Returns a transform representing a rotation transformation.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../java/awt/geom/AffineTransform.html">AffineTransform</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/AffineTransform.html#getRotateInstance(double, double, double)">getRotateInstance</A></B>(double theta, double x, double y)</CODE><BR> Returns a transform that rotates coordinates around an anchor point.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../java/awt/geom/AffineTransform.html">AffineTransform</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/AffineTransform.html#getScaleInstance(double, double)">getScaleInstance</A></B>(double sx, double sy)</CODE><BR> Returns a transform representing a scaling transformation.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/AffineTransform.html#getScaleX()">getScaleX</A></B>()</CODE><BR> Returns the X coordinate scaling element (m00) of the 3x3 affine transformation matrix.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/AffineTransform.html#getScaleY()">getScaleY</A></B>()</CODE><BR> Returns the Y coordinate scaling element (m11) of the 3x3 affine transformation matrix.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../java/awt/geom/AffineTransform.html">AffineTransform</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/AffineTransform.html#getShearInstance(double, double)">getShearInstance</A></B>(double shx, double shy)</CODE><BR> Returns a transform representing a shearing transformation.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/AffineTransform.html#getShearX()">getShearX</A></B>()</CODE><BR> Returns the X coordinate shearing element (m01) of the 3x3 affine transformation matrix.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/AffineTransform.html#getShearY()">getShearY</A></B>()</CODE><BR> Returns the Y coordinate shearing element (m10) of the 3x3 affine transformation matrix.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../java/awt/geom/AffineTransform.html">AffineTransform</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/AffineTransform.html#getTranslateInstance(double, double)">getTranslateInstance</A></B>(double tx, double ty)</CODE><BR> Returns a transform representing a translation transformation.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/AffineTransform.html#getTranslateX()">getTranslateX</A></B>()</CODE><BR> Returns the X coordinate of the translation element (m02) of the 3x3 affine transformation matrix.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/AffineTransform.html#getTranslateY()">getTranslateY</A></B>()</CODE><BR> Returns the Y coordinate of the translation element (m12) of the 3x3 affine transformation matrix.</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="../../../java/awt/geom/AffineTransform.html#getType()">getType</A></B>()</CODE><BR> Retrieves the flag bits describing the conversion properties of this transform.</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="../../../java/awt/geom/AffineTransform.html#hashCode()">hashCode</A></B>()</CODE><BR> Returns the hashcode for this transform.</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="../../../java/awt/geom/AffineTransform.html#inverseTransform(double[], int, double[], int, int)">inverseTransform</A></B>(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)</CODE><BR> Inverse transforms an array of double precision coordinates by this transform.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/awt/geom/Point2D.html">Point2D</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/AffineTransform.html#inverseTransform(java.awt.geom.Point2D, java.awt.geom.Point2D)">inverseTransform</A></B>(<A HREF="../../../java/awt/geom/Point2D.html">Point2D</A> ptSrc, <A HREF="../../../java/awt/geom/Point2D.html">Point2D</A> ptDst)</CODE><BR> Inverse transforms the specified <code>ptSrc</code> and stores the result in <code>ptDst</code>.</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="../../../java/awt/geom/AffineTransform.html#isIdentity()">isIdentity</A></B>()</CODE><BR> Returns <code>true</code> if this <code>AffineTransform</code> is an identity transform.</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="../../../java/awt/geom/AffineTransform.html#preConcatenate(java.awt.geom.AffineTransform)">preConcatenate</A></B>(<A HREF="../../../java/awt/geom/AffineTransform.html">AffineTransform</A> Tx)</CODE><BR> Concatenates an <code>AffineTransform</code> <code>Tx</code> to this <code>AffineTransform</code> Cx in a less commonly used way such that <code>Tx</code> modifies the coordinate transformation relative to the absolute pixel space rather than relative to the existing user space.</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="../../../java/awt/geom/AffineTransform.html#rotate(double)">rotate</A></B>(double theta)</CODE>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?