⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 photodimensions.html

📁 图片管理程序
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A></CODE></FONT></TD><TD><CODE><B>PhotoImageHelper.</B><B><A HREF="../../../../net/spy/photo/PhotoImageHelper.html#getImage(net.spy.photo.PhotoDimensions)">getImage</A></B>(<A HREF="../../../../net/spy/photo/PhotoDimensions.html">PhotoDimensions</A>&nbsp;dim)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the full image.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B>PhotoImageData.</B><B><A HREF="../../../../net/spy/photo/PhotoImageData.html#setMaxDims(net.spy.photo.PhotoDimensions)">setMaxDims</A></B>(<A HREF="../../../../net/spy/photo/PhotoDimensions.html">PhotoDimensions</A>&nbsp;maxDims)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the maximum dimensions for display of this image and calculate the scaled dimensions to stay within the maximum dimensions and maintain the proper aspect ratio.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../../../net/spy/photo/PhotoImageData.html">PhotoImageData</A></CODE></FONT></TD><TD><CODE><B>PhotoImageData.</B><B><A HREF="../../../../net/spy/photo/PhotoImageData.html#getData(int, net.spy.photo.PhotoDimensions)">getData</A></B>(int&nbsp;id,        <A HREF="../../../../net/spy/photo/PhotoDimensions.html">PhotoDimensions</A>&nbsp;maxDims)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the data for the given ID and calculate the scaled image size down to fit within the provided dimensions.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B>PhotoImage.</B><B><A HREF="../../../../net/spy/photo/PhotoImage.html#smallerThan(net.spy.photo.PhotoDimensions)">smallerThan</A></B>(<A HREF="../../../../net/spy/photo/PhotoDimensions.html">PhotoDimensions</A>&nbsp;pdim)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../net/spy/photo/PhotoDimensions.html">PhotoDimensions</A></CODE></FONT></TD><TD><CODE><B>PhotoDimScaler.</B><B><A HREF="../../../../net/spy/photo/PhotoDimScaler.html#scaleTo(net.spy.photo.PhotoDimensions)">scaleTo</A></B>(<A HREF="../../../../net/spy/photo/PhotoDimensions.html">PhotoDimensions</A>&nbsp;d)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Scale a dimension to another dimension.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B>PhotoDimensionsImpl.</B><B><A HREF="../../../../net/spy/photo/PhotoDimensionsImpl.html#smallerThan(net.spy.photo.PhotoDimensions)">smallerThan</A></B>(<A HREF="../../../../net/spy/photo/PhotoDimensions.html">PhotoDimensions</A>&nbsp;pdim)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B>PhotoDimensions.</B><B><A HREF="../../../../net/spy/photo/PhotoDimensions.html#smallerThan(net.spy.photo.PhotoDimensions)">smallerThan</A></B>(<A HREF="../../../../net/spy/photo/PhotoDimensions.html">PhotoDimensions</A>&nbsp;pdim)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return true if this PhotoDimensions object is smaller than the one passed in.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A></CODE></FONT></TD><TD><CODE><B>JavaImageServerScaler.</B><B><A HREF="../../../../net/spy/photo/JavaImageServerScaler.html#scaleImage(net.spy.photo.PhotoImage, net.spy.photo.PhotoDimensions)">scaleImage</A></B>(<A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A>&nbsp;in,           <A HREF="../../../../net/spy/photo/PhotoDimensions.html">PhotoDimensions</A>&nbsp;dim)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Scale it in 100% Java.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract &nbsp;<A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A></CODE></FONT></TD><TD><CODE><B>ImageServerScaler.</B><B><A HREF="../../../../net/spy/photo/ImageServerScaler.html#scaleImage(net.spy.photo.PhotoImage, net.spy.photo.PhotoDimensions)">scaleImage</A></B>(<A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A>&nbsp;in,           <A HREF="../../../../net/spy/photo/PhotoDimensions.html">PhotoDimensions</A>&nbsp;dim)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Scale the image.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A></CODE></FONT></TD><TD><CODE><B>ImageServerImpl.</B><B><A HREF="../../../../net/spy/photo/ImageServerImpl.html#getImage(int, net.spy.photo.PhotoDimensions)">getImage</A></B>(int&nbsp;imageId,         <A HREF="../../../../net/spy/photo/PhotoDimensions.html">PhotoDimensions</A>&nbsp;dim)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A></CODE></FONT></TD><TD><CODE><B>ImageServer.</B><B><A HREF="../../../../net/spy/photo/ImageServer.html#getImage(int, net.spy.photo.PhotoDimensions)">getImage</A></B>(int&nbsp;imageId,         <A HREF="../../../../net/spy/photo/PhotoDimensions.html">PhotoDimensions</A>&nbsp;dim)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get an image that will fit inside the given dimensions.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A></CODE></FONT></TD><TD><CODE><B>ExternalImageServerScaler.</B><B><A HREF="../../../../net/spy/photo/ExternalImageServerScaler.html#scaleImage(net.spy.photo.PhotoImage, net.spy.photo.PhotoDimensions)">scaleImage</A></B>(<A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A>&nbsp;in,           <A HREF="../../../../net/spy/photo/PhotoDimensions.html">PhotoDimensions</A>&nbsp;dim)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Scale an image with an external command.</TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Constructors in <A HREF="../../../../net/spy/photo/package-summary.html">net.spy.photo</A> with parameters of type <A HREF="../../../../net/spy/photo/PhotoDimensions.html">PhotoDimensions</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../net/spy/photo/PhotoLogImageEntry.html#PhotoLogImageEntry(int, int, net.spy.photo.PhotoDimensions, javax.servlet.http.HttpServletRequest)">PhotoLogImageEntry</A></B>(int&nbsp;u,                   int&nbsp;p,                   <A HREF="../../../../net/spy/photo/PhotoDimensions.html">PhotoDimensions</A>&nbsp;size,                   javax.servlet.http.HttpServletRequest&nbsp;request)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a new PhotoLogImageEntry for a photo request.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../net/spy/photo/PhotoDimScaler.html#PhotoDimScaler(net.spy.photo.PhotoDimensions)">PhotoDimScaler</A></B>(<A HREF="../../../../net/spy/photo/PhotoDimensions.html">PhotoDimensions</A>&nbsp;dim)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get an instance of PhotoDimScaler with a reference dimension set.</TD></TR></TABLE>&nbsp;<P><A NAME="net.spy.photo.rmi"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../../net/spy/photo/PhotoDimensions.html">PhotoDimensions</A> in <A HREF="../../../../net/spy/photo/rmi/package-summary.html">net.spy.photo.rmi</A></FONT></TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../../net/spy/photo/rmi/package-summary.html">net.spy.photo.rmi</A> with parameters of type <A HREF="../../../../net/spy/photo/PhotoDimensions.html">PhotoDimensions</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A></CODE></FONT></TD><TD><CODE><B>RemoteImageServerImpl.</B><B><A HREF="../../../../net/spy/photo/rmi/RemoteImageServerImpl.html#getImage(int, net.spy.photo.PhotoDimensions)">getImage</A></B>(int&nbsp;imageId,         <A HREF="../../../../net/spy/photo/PhotoDimensions.html">PhotoDimensions</A>&nbsp;dim)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A></CODE></FONT></TD><TD><CODE><B>RemoteImageServer.</B><B><A HREF="../../../../net/spy/photo/rmi/RemoteImageServer.html#getImage(int, net.spy.photo.PhotoDimensions)">getImage</A></B>(int&nbsp;imageId,         <A HREF="../../../../net/spy/photo/PhotoDimensions.html">PhotoDimensions</A>&nbsp;dim)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get an image by ID at a specific size.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A></CODE></FONT></TD><TD><CODE><B>ImageServerImpl.</B><B><A HREF="../../../../net/spy/photo/rmi/ImageServerImpl.html#getImage(int, net.spy.photo.PhotoDimensions)">getImage</A></B>(int&nbsp;imageId,         <A HREF="../../../../net/spy/photo/PhotoDimensions.html">PhotoDimensions</A>&nbsp;dim)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR></TABLE>&nbsp;<P><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=3 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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../net/spy/photo/PhotoDimensions.html"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;PREV&nbsp;&nbsp;NEXT</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="PhotoDimensions.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT>  <!--  if(window==top) {    document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT><A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -