affinetransform.html
来自「API資料大全」· HTML 代码 · 共 1,328 行 · 第 1/5 页
HTML
1,328 行
<BR> Concatenates this transform with a rotation transformation.</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, double, double)">rotate</A></B>(double theta, double x, double y)</CODE><BR> Concatenates this transform with 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> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/AffineTransform.html#scale(double, double)">scale</A></B>(double sx, double sy)</CODE><BR> Concatenates this transform with a scaling transformation.</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#setToIdentity()">setToIdentity</A></B>()</CODE><BR> Resets this transform to the 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#setToRotation(double)">setToRotation</A></B>(double theta)</CODE><BR> Sets this transform to a rotation transformation.</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#setToRotation(double, double, double)">setToRotation</A></B>(double theta, double x, double y)</CODE><BR> Sets this transform to a translated rotation transformation.</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#setToScale(double, double)">setToScale</A></B>(double sx, double sy)</CODE><BR> Sets this transform to a scaling transformation.</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#setToShear(double, double)">setToShear</A></B>(double shx, double shy)</CODE><BR> Sets this transform to a shearing transformation.</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#setToTranslation(double, double)">setToTranslation</A></B>(double tx, double ty)</CODE><BR> Sets this transform to a translation transformation.</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#setTransform(java.awt.geom.AffineTransform)">setTransform</A></B>(<A HREF="../../../java/awt/geom/AffineTransform.html">AffineTransform</A> Tx)</CODE><BR> Sets this transform to a copy of the transform in the specified <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#setTransform(double, double, double, double, double, double)">setTransform</A></B>(double m00, double m10, double m01, double m11, double m02, double m12)</CODE><BR> Sets this transform to the matrix specified by the 6 double precision values.</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#shear(double, double)">shear</A></B>(double shx, double shy)</CODE><BR> Concatenates this transform with a shearing transformation.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/lang/String.html">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/AffineTransform.html#toString()">toString</A></B>()</CODE><BR> Returns a <code>String</code> that represents the value of this <A HREF="../../../java/lang/Object.html"><CODE>Object</CODE></A>.</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#transform(double[], int, double[], int, int)">transform</A></B>(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)</CODE><BR> 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> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/AffineTransform.html#transform(double[], int, float[], int, int)">transform</A></B>(double[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts)</CODE><BR> Transforms an array of double precision coordinates by this transform and stores the results into an array of floats.</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#transform(float[], int, double[], int, int)">transform</A></B>(float[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)</CODE><BR> Transforms an array of floating point coordinates by this transform and stores the results into an array of doubles.</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#transform(float[], int, float[], int, int)">transform</A></B>(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts)</CODE><BR> Transforms an array of floating point coordinates 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#transform(java.awt.geom.Point2D[], int, java.awt.geom.Point2D[], int, int)">transform</A></B>(<A HREF="../../../java/awt/geom/Point2D.html">Point2D</A>[] ptSrc, int srcOff, <A HREF="../../../java/awt/geom/Point2D.html">Point2D</A>[] ptDst, int dstOff, int numPts)</CODE><BR> Transforms an array of point objects 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#transform(java.awt.geom.Point2D, java.awt.geom.Point2D)">transform</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 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> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../java/awt/geom/AffineTransform.html#translate(double, double)">translate</A></B>(double tx, double ty)</CODE><BR> Concatenates this transform with a translation transformation.</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.<A HREF="../../../java/lang/Object.html">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../java/lang/Object.html#finalize()">finalize</A>, <A HREF="../../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long)">wait</A>, <A HREF="../../../java/lang/Object.html#wait(long, int)">wait</A></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="TYPE_IDENTITY"><!-- --></A><H3>TYPE_IDENTITY</H3><PRE>public static final int <B>TYPE_IDENTITY</B></PRE><DL><DD>This constant indicates that the transform defined by this object is an identity transform. An identity transform is one in which the output coordinates are always the same as the input coordinates. If this transform is anything other than the identity transform, the type will either be the constant GENERAL_TRANSFORM or a combination of the appropriate flag bits for the various coordinate conversions that this transform performs.<DD><DL><DT><B>See Also: </B><DD><A HREF="../../../java/awt/geom/AffineTransform.html#TYPE_TRANSLATION"><CODE>TYPE_TRANSLATION</CODE></A>, <A HREF="../../../java/awt/geom/AffineTransform.html#TYPE_UNIFORM_SCALE"><CODE>TYPE_UNIFORM_SCALE</CODE></A>, <A HREF="../../../java/awt/geom/AffineTransform.html#TYPE_GENERAL_SCALE"><CODE>TYPE_GENERAL_SCALE</CODE></A>, <A HREF="../../../java/awt/geom/AffineTransform.html#TYPE_FLIP"><CODE>TYPE_FLIP</CODE></A>, <A HREF="../../../java/awt/geom/AffineTransform.html#TYPE_QUADRANT_ROTATION"><CODE>TYPE_QUADRANT_ROTATION</CODE></A>, <A HREF="../../../java/awt/geom/AffineTransform.html#TYPE_GENERAL_ROTATION"><CODE>TYPE_GENERAL_ROTATION</CODE></A>, <A HREF="../../../java/awt/geom/AffineTransform.html#TYPE_GENERAL_TRANSFORM"><CODE>TYPE_GENERAL_TRANSFORM</CODE></A>, <A HREF="../../../java/awt/geom/AffineTransform.html#getType()"><CODE>getType()</CODE></A></DL></DD></DL><HR><A NAME="TYPE_TRANSLATION"><!-- --></A><H3>TYPE_TRANSLATION</H3><PRE>public static final int <B>TYPE_TRANSLATION</B></PRE><DL><DD>This flag bit indicates that the transform defined by this object performs a translation in addition to the conversions indicated by other flag bits. A translation moves the coordinates by a constant amount in x and y without changing the length or angle of vectors.<DD><DL><DT><B>See Also: </B><DD><A HREF="../../../java/awt/geom/AffineTransform.html#TYPE_IDENTITY"><CODE>TYPE_IDENTITY</CODE></A>, <A HREF="../../../java/awt/geom/AffineTransform.html#TYPE_UNIFORM_SCALE"><CODE>TYPE_UNIFORM_SCALE</CODE></A>, <A HREF="../../../java/awt/geom/AffineTransform.html#TYPE_GENERAL_SCALE"><CODE>TYPE_GENERAL_SCALE</CODE></A>, <A HREF="../../../java/awt/geom/AffineTransform.html#TYPE_FLIP"><CODE>TYPE_FLIP</CODE></A>, <A HREF="../../../java/awt/geom/AffineTransform.html#TYPE_QUADRANT_ROTATION"><CODE>TYPE_QUADRANT_ROTATION</CODE></A>, <A HREF="../../../java/awt/geom/AffineTransform.html#TYPE_GENERAL_ROTATION"><CODE>TYPE_GENERAL_ROTATION</CODE></A>, <A HREF="../../../java/awt/geom/AffineTransform.html#TYPE_GENERAL_TRANSFORM"><CODE>TYPE_GENERAL_TRANSFORM</CODE></A>, <A HREF="../../../java/awt/geom/AffineTransform.html#getType()"><CODE>getType()</CODE></A></DL></DD>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?