?? pdftemplate.html
字號:
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>width</CODE> - the bounding width</DL>
</DD>
</DL>
<HR>
<A NAME="setHeight(float)"><!-- --></A><H3>
setHeight</H3>
<PRE>
public void <B>setHeight</B>(float height)</PRE>
<DL>
<DD>Sets the bounding heigth of this template.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>height</CODE> - the bounding height</DL>
</DD>
</DL>
<HR>
<A NAME="getWidth()"><!-- --></A><H3>
getWidth</H3>
<PRE>
public float <B>getWidth</B>()</PRE>
<DL>
<DD>Gets the bounding width of this template.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>width the bounding width</DL>
</DD>
</DL>
<HR>
<A NAME="getHeight()"><!-- --></A><H3>
getHeight</H3>
<PRE>
public float <B>getHeight</B>()</PRE>
<DL>
<DD>Gets the bounding heigth of this template.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>heigth the bounding height</DL>
</DD>
</DL>
<HR>
<A NAME="getBoundingBox()"><!-- --></A><H3>
getBoundingBox</H3>
<PRE>
public <A HREF="../../../../com/lowagie/text/Rectangle.html">Rectangle</A> <B>getBoundingBox</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setBoundingBox(com.lowagie.text.Rectangle)"><!-- --></A><H3>
setBoundingBox</H3>
<PRE>
public void <B>setBoundingBox</B>(<A HREF="../../../../com/lowagie/text/Rectangle.html">Rectangle</A> bBox)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setMatrix(float, float, float, float, float, float)"><!-- --></A><H3>
setMatrix</H3>
<PRE>
public void <B>setMatrix</B>(float a, float b, float c, float d, float e, float f)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getMatrix()"><!-- --></A><H3>
getMatrix</H3>
<PRE>
<A HREF="../../../../com/lowagie/text/pdf/PdfArray.html">PdfArray</A> <B>getMatrix</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getIndirectReference()"><!-- --></A><H3>
getIndirectReference</H3>
<PRE>
<A HREF="../../../../com/lowagie/text/pdf/PdfIndirectReference.html">PdfIndirectReference</A> <B>getIndirectReference</B>()</PRE>
<DL>
<DD>Gets the indirect reference to this template.
<P>
<DD><DL>
<DT><B>Returns:</B><DD>the indirect reference to this template</DL>
</DD>
</DL>
<HR>
<A NAME="addTemplate(com.lowagie.text.pdf.PdfTemplate, float, float, float, float, float, float)"><!-- --></A><H3>
addTemplate</H3>
<PRE>
public void <B>addTemplate</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfTemplate.html">PdfTemplate</A> template, float a, float b, float c, float d, float e, float f)</PRE>
<DL>
<DD>Adds a template to this template.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/lowagie/text/pdf/PdfContentByte.html#addTemplate(com.lowagie.text.pdf.PdfTemplate, float, float, float, float, float, float)">addTemplate</A></CODE> in class <CODE><A HREF="../../../../com/lowagie/text/pdf/PdfContentByte.html">PdfContentByte</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>template</CODE> - the template<DD><CODE>a</CODE> - an element of the transformation matrix<DD><CODE>b</CODE> - an element of the transformation matrix<DD><CODE>c</CODE> - an element of the transformation matrix<DD><CODE>d</CODE> - an element of the transformation matrix<DD><CODE>e</CODE> - an element of the transformation matrix<DD><CODE>f</CODE> - an element of the transformation matrix</DL>
</DD>
</DL>
<HR>
<A NAME="addImage(com.lowagie.text.Image, float, float, float, float, float, float)"><!-- --></A><H3>
addImage</H3>
<PRE>
public void <B>addImage</B>(<A HREF="../../../../com/lowagie/text/Image.html">Image</A> image, float a, float b, float c, float d, float e, float f) throws <A HREF="../../../../com/lowagie/text/DocumentException.html">DocumentException</A></PRE>
<DL>
<DD>Adds an <CODE>Image</CODE> to this template. The positioning of the <CODE>Image</CODE> is done with the transformation matrix. To position an <CODE>image</CODE> at (x,y) use addImage(image, image_width, 0, 0, image_height, x, y).
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/lowagie/text/pdf/PdfContentByte.html#addImage(com.lowagie.text.Image, float, float, float, float, float, float)">addImage</A></CODE> in class <CODE><A HREF="../../../../com/lowagie/text/pdf/PdfContentByte.html">PdfContentByte</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>image</CODE> - the <CODE>Image</CODE> object<DD><CODE>a</CODE> - an element of the transformation matrix<DD><CODE>b</CODE> - an element of the transformation matrix<DD><CODE>c</CODE> - an element of the transformation matrix<DD><CODE>d</CODE> - an element of the transformation matrix<DD><CODE>e</CODE> - an element of the transformation matrix<DD><CODE>f</CODE> - an element of the transformation matrix<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/lowagie/text/DocumentException.html">DocumentException</A></CODE> - on error</DL>
</DD>
</DL>
<HR>
<A NAME="setColorFill(com.lowagie.text.pdf.PdfSpotColor, float)"><!-- --></A><H3>
setColorFill</H3>
<PRE>
public void <B>setColorFill</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfSpotColor.html">PdfSpotColor</A> sp, float tint)</PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../../com/lowagie/text/pdf/PdfContentByte.html">PdfContentByte</A></CODE></B></DD>
<DD>Sets the fill color to a spot color.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/lowagie/text/pdf/PdfContentByte.html#setColorFill(com.lowagie.text.pdf.PdfSpotColor, float)">setColorFill</A></CODE> in class <CODE><A HREF="../../../../com/lowagie/text/pdf/PdfContentByte.html">PdfContentByte</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>sp</CODE> - the spot color<DD><CODE>tint</CODE> - the tint for the spot color. 0 is no color and 1 is 100% color</DL>
</DD>
</DL>
<HR>
<A NAME="setColorStroke(com.lowagie.text.pdf.PdfSpotColor, float)"><!-- --></A><H3>
setColorStroke</H3>
<PRE>
public void <B>setColorStroke</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfSpotColor.html">PdfSpotColor</A> sp, float tint)</PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../../com/lowagie/text/pdf/PdfContentByte.html">PdfContentByte</A></CODE></B></DD>
<DD>Sets the stroke color to a spot color.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/lowagie/text/pdf/PdfContentByte.html#setColorStroke(com.lowagie.text.pdf.PdfSpotColor, float)">setColorStroke</A></CODE> in class <CODE><A HREF="../../../../com/lowagie/text/pdf/PdfContentByte.html">PdfContentByte</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>sp</CODE> - the spot color<DD><CODE>tint</CODE> - the tint for the spot color. 0 is no color and 1 is 100% color</DL>
</DD>
</DL>
<HR>
<A NAME="setPatternFill(com.lowagie.text.pdf.PdfPatternPainter)"><!-- --></A><H3>
setPatternFill</H3>
<PRE>
public void <B>setPatternFill</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfPatternPainter.html">PdfPatternPainter</A> p)</PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../../com/lowagie/text/pdf/PdfContentByte.html">PdfContentByte</A></CODE></B></DD>
<DD>Sets the fill color to a pattern. The pattern can be colored or uncolored.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/lowagie/text/pdf/PdfContentByte.html#setPatternFill(com.lowagie.text.pdf.PdfPatternPainter)">setPatternFill</A></CODE> in class <CODE><A HREF="../../../../com/lowagie/text/pdf/PdfContentByte.html">PdfContentByte</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>p</CODE> - the pattern</DL>
</DD>
</DL>
<HR>
<A NAME="setPatternStroke(com.lowagie.text.pdf.PdfPatternPainter)"><!-- --></A><H3>
setPatternStroke</H3>
<PRE>
public void <B>setPatternStroke</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfPatternPainter.html">PdfPatternPainter</A> p)</PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../../com/lowagie/text/pdf/PdfContentByte.html">PdfContentByte</A></CODE></B></DD>
<DD>Sets the stroke color to a pattern. The pattern can be colored or uncolored.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/lowagie/text/pdf/PdfContentByte.html#setPatternStroke(com.lowagie.text.pdf.PdfPatternPainter)">setPatternStroke</A></CODE> in class <CODE><A HREF="../../../../com/lowagie/text/pdf/PdfContentByte.html">PdfContentByte</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>p</CODE> - the pattern</DL>
</DD>
</DL>
<HR>
<A NAME="setPatternFill(com.lowagie.text.pdf.PdfPatternPainter, java.awt.Color, float)"><!-- --></A><H3>
setPatternFill</H3>
<PRE>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -