📄 t4encoder.html
字号:
<A NAME="debug"><!-- --></A><H3>
debug</H3>
<PRE>
public boolean <B>debug</B></PRE>
<DL>
<DD>encoder debug mode
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="minBytesLine"><!-- --></A><H3>
minBytesLine</H3>
<PRE>
public int <B>minBytesLine</B></PRE>
<DL>
<DD>minimum number of bytes per line
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="alignEOL"><!-- --></A><H3>
alignEOL</H3>
<PRE>
public boolean <B>alignEOL</B></PRE>
<DL>
<DD>align EOL to bytes
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="completeLine"><!-- --></A><H3>
completeLine</H3>
<PRE>
public boolean <B>completeLine</B></PRE>
<DL>
<DD>send all line bits (up to 1728)
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="lineWidth"><!-- --></A><H3>
lineWidth</H3>
<PRE>
public int <B>lineWidth</B></PRE>
<DL>
<DD>line width, default is 1728 (215 mm, 196 dpi)
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="pageLength"><!-- --></A><H3>
pageLength</H3>
<PRE>
public int <B>pageLength</B></PRE>
<DL>
<DD>page length, default is 2387 (297 mm, 196 dpi)
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="completePage"><!-- --></A><H3>
completePage</H3>
<PRE>
public boolean <B>completePage</B></PRE>
<DL>
<DD>add empty lines to the image in order to complete the maximum length
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="scaleImage"><!-- --></A><H3>
scaleImage</H3>
<PRE>
public boolean <B>scaleImage</B></PRE>
<DL>
<DD>scale provided image to page size (lineWidth * pageLength). If true "scaleFactor" will be automatically calculated.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="scaleFactor"><!-- --></A><H3>
scaleFactor</H3>
<PRE>
public int <B>scaleFactor</B></PRE>
<DL>
<DD>image scale factor. RFax will scale your image according to this value. Default value of 1 ,leaves image as it is.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="centerImage"><!-- --></A><H3>
centerImage</H3>
<PRE>
public boolean <B>centerImage</B></PRE>
<DL>
<DD>center image
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="whiteColor"><!-- --></A><H3>
whiteColor</H3>
<PRE>
public int <B>whiteColor</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="blackColor"><!-- --></A><H3>
blackColor</H3>
<PRE>
public int <B>blackColor</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="createEOP"><!-- --></A><H3>
createEOP</H3>
<PRE>
public boolean <B>createEOP</B></PRE>
<DL>
<DD>create end of page
<P>
<DL>
</DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="T4Encoder()"><!-- --></A><H3>
T4Encoder</H3>
<PRE>
public <B>T4Encoder</B>()</PRE>
<DL>
</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="getLinesInImage()"><!-- --></A><H3>
getLinesInImage</H3>
<PRE>
public int <B>getLinesInImage</B>()</PRE>
<DL>
<DD>in order to create a tiff file we need to know the height
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="addFiller(int, boolean)"><!-- --></A><H3>
addFiller</H3>
<PRE>
public void <B>addFiller</B>(int runl, boolean inWhite)</PRE>
<DL>
<DD>add filler to line
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="removeEOL(byte[])"><!-- --></A><H3>
removeEOL</H3>
<PRE>
public byte[] <B>removeEOL</B>(byte[] b)</PRE>
<DL>
<DD>remove EOL from image. Tiff images shall not contain EOLs.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="encodeImage(java.awt.Image)"><!-- --></A><H3>
encodeImage</H3>
<PRE>
public byte[] <B>encodeImage</B>(java.awt.Image i)</PRE>
<DL>
<DD>encode image
<P>
<DD><DL>
</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="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="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="../../../com/java4less/rfax/PDFFaxProducer.html"><B>PREV CLASS</B></A>
<A HREF="../../../com/java4less/rfax/TextFaxProducer.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="T4Encoder.html" TARGET="_top"><B>NO FRAMES</B></A>
<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: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | <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 + -