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

📄 gif.html

📁 java编程java编程java编程java编程java编程java编程java编程
💻 HTML
📖 第 1 页 / 共 3 页
字号:
    throws <A HREF="../../../com/lowagie/text/BadElementException.html">BadElementException</A>,           <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<I>use Image.getInstance(...) to create an Image</I>
<P>
<DD>Constructs a <CODE>Gif</CODE>-object, using an <VAR>url</VAR>.
<P>
<DT><B>Parameters:</B><DD><CODE>url</CODE> - the <CODE>URL</CODE> where the image can be found.<DD><CODE>width</CODE> - the width you want the image to have<DD><CODE>height</CODE> - the height you want the image to have.</DL>
<HR>

<A NAME="Gif(java.lang.String)"><!-- --></A><H3>
Gif</H3>
<PRE>
public <B>Gif</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;filename)    throws <A HREF="../../../com/lowagie/text/BadElementException.html">BadElementException</A>,           <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/net/MalformedURLException.html">MalformedURLException</A>,           <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<I>use Image.getInstance(...) to create an Image</I>
<P>
<DD>Constructs a <CODE>Gif</CODE>-object, using a <VAR>filename</VAR>.
<P>
<DT><B>Parameters:</B><DD><CODE>filename</CODE> - a <CODE>String</CODE>-representation of the file that contains the Image.</DL>
<HR>

<A NAME="Gif(java.lang.String, float, float)"><!-- --></A><H3>
Gif</H3>
<PRE>
public <B>Gif</B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A>&nbsp;filename,           float&nbsp;width,           float&nbsp;height)    throws <A HREF="../../../com/lowagie/text/BadElementException.html">BadElementException</A>,           <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/net/MalformedURLException.html">MalformedURLException</A>,           <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<I>use Image.getInstance(...) to create an Image</I>
<P>
<DD>Constructs a <CODE>Gif</CODE>-object, using a <VAR>filename</VAR>.
<P>
<DT><B>Parameters:</B><DD><CODE>filename</CODE> - a <CODE>String</CODE>-representation of the file that contains the Image.<DD><CODE>width</CODE> - the width you want the image to have<DD><CODE>height</CODE> - the height you want the image to have.</DL>
<HR>

<A NAME="Gif(byte[])"><!-- --></A><H3>
Gif</H3>
<PRE>
public <B>Gif</B>(byte[]&nbsp;img)    throws <A HREF="../../../com/lowagie/text/BadElementException.html">BadElementException</A>,           <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></PRE>
<DL>
<DD>Constructs a <CODE>Gif</CODE>-object from memory.
<P>
<DT><B>Parameters:</B><DD><CODE>img</CODE> - the memory image</DL>
<HR>

<A NAME="Gif(byte[], float, float)"><!-- --></A><H3>
Gif</H3>
<PRE>
public <B>Gif</B>(byte[]&nbsp;img,           float&nbsp;width,           float&nbsp;height)    throws <A HREF="../../../com/lowagie/text/BadElementException.html">BadElementException</A>,           <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></PRE>
<DL>
<DD>Constructs a <CODE>Gif</CODE>-object from memory.
<P>
<DT><B>Parameters:</B><DD><CODE>img</CODE> - the memory image<DD><CODE>width</CODE> - the width you want the image to have<DD><CODE>height</CODE> - the height you want the image to have</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="processParameters()"><!-- --></A><H3>
processParameters</H3>
<PRE>
private void <B>processParameters</B>()                        throws <A HREF="../../../com/lowagie/text/BadElementException.html">BadElementException</A>,                               <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></PRE>
<DL>
<DD>This method checks if the image is a valid GIF and processes some parameters.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DD><CODE><A HREF="../../../com/lowagie/text/BadElementException.html">BadElementException</A></CODE><DD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/io/IOException.html">IOException</A></CODE></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=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="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</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;<A HREF="../../../com/lowagie/text/FontFactory.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../com/lowagie/text/Graphic.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>  &nbsp;
&nbsp;<A HREF="Gif.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>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_com.lowagie.text.Image">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + -