📄 qddimension.html
字号:
</TR></TABLE><A NAME="QDDimension()"><!-- --></A><H3>QDDimension</H3><PRE>public <B>QDDimension</B>()</PRE><DL><DD>Creates an instance of QDDimension with a width of zero and a height of zero.</DL><HR><A NAME="QDDimension(int, int)"><!-- --></A><H3>QDDimension</H3><PRE>public <B>QDDimension</B>(int width, int height)</PRE><DL><DD>Constructs a QDDimension and initializes it to the specified width and specified height.<DD><DL><DT><B>Parameters:</B><DD><CODE>width</CODE> - the specified width dimension<DD><CODE>height</CODE> - the specified height dimension</DL></DD></DL><HR><A NAME="QDDimension(float, float)"><!-- --></A><H3>QDDimension</H3><PRE>public <B>QDDimension</B>(float width, float height)</PRE><DL><DD>Constructs a QDDimension and initializes it to the specified width and specified height.<DD><DL><DT><B>Parameters:</B><DD><CODE>width</CODE> - the specified width dimension<DD><CODE>height</CODE> - the specified height dimension</DL></DD></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getEndianDescriptor()"><!-- --></A><H3>getEndianDescriptor</H3><PRE>public static final <A HREF="../../quicktime/util/EndianDescriptor.html">EndianDescriptor</A> <B>getEndianDescriptor</B>()</PRE><DL><DD>Returns the EndianDescriptor for QDRect Rect.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>an EndianDescriptor</DL></DD></DL><HR><A NAME="getWidth()"><!-- --></A><H3>getWidth</H3><PRE>public int <B>getWidth</B>()</PRE><DL><DD>Gets the width of this QDDimension object.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the width</DL></DD></DL><HR><A NAME="getWidthF()"><!-- --></A><H3>getWidthF</H3><PRE>public float <B>getWidthF</B>()</PRE><DL><DD>Gets the width of this QDDimension object.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the width</DL></DD></DL><HR><A NAME="getHeight()"><!-- --></A><H3>getHeight</H3><PRE>public int <B>getHeight</B>()</PRE><DL><DD>Gets the height of this QDDimension object.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the height</DL></DD></DL><HR><A NAME="getHeightF()"><!-- --></A><H3>getHeightF</H3><PRE>public float <B>getHeightF</B>()</PRE><DL><DD>Gets the height of this QDDimension object.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the height</DL></DD></DL><HR><A NAME="setWidth(int)"><!-- --></A><H3>setWidth</H3><PRE>public void <B>setWidth</B>(int width)</PRE><DL><DD>Set the width.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>width</CODE> - the new width for this QDDimension object.</DL></DD></DL><HR><A NAME="setWidth(float)"><!-- --></A><H3>setWidth</H3><PRE>public void <B>setWidth</B>(float width)</PRE><DL><DD>Set the width.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>width</CODE> - the new width for this QDDimension object.</DL></DD></DL><HR><A NAME="setHeight(int)"><!-- --></A><H3>setHeight</H3><PRE>public void <B>setHeight</B>(int height)</PRE><DL><DD>Set the height.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>height</CODE> - the new height for this QDDimension object.</DL></DD></DL><HR><A NAME="setHeight(float)"><!-- --></A><H3>setHeight</H3><PRE>public void <B>setHeight</B>(float height)</PRE><DL><DD>Set the height.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>height</CODE> - the new height for this QDDimension object.</DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public java.lang.Object <B>clone</B>()</PRE><DL><DD>Return a copy of the QDDimension<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a QDDimension</DL></DD></DL><HR><A NAME="copy()"><!-- --></A><H3>copy</H3><PRE>public <A HREF="../../quicktime/qd/QDDimension.html">QDDimension</A> <B>copy</B>()</PRE><DL><DD>Returns a copy of the QDDimension with the correct return type.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a QDDimension</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object obj)</PRE><DL><DD>Checks whether two dimension objects have equal values.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../quicktime/util/QTByteObject.html#equals(java.lang.Object)">equals</A></CODE> in class <CODE><A HREF="../../quicktime/util/QTByteObject.html">QTByteObject</A></CODE></DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../quicktime/util/QTByteObject.html">QTByteObject</A></CODE></B></DD><DD>Returns a string representation of this object<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../quicktime/util/QTByteObject.html#toString()">toString</A></CODE> in class <CODE><A HREF="../../quicktime/util/QTByteObject.html">QTByteObject</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a string representation of this object.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_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/QDDimension.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/qd/QDColor.html"><B>PREV CLASS</B></A> <A HREF="../../quicktime/qd/QDFont.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="QDDimension.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | <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></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -