📄 postscriptgraphics.html
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.awt.Stroke</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/visualize/PostscriptGraphics.html#getStroke()">getStroke</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.awt.geom.AffineTransform</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/visualize/PostscriptGraphics.html#getTransform()">getTransform</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/visualize/PostscriptGraphics.html#hit(java.awt.Rectangle, java.awt.Shape, boolean)">hit</A></B>(java.awt.Rectangle r, java.awt.Shape s, boolean onstroke)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/visualize/PostscriptGraphics.html#rotate(double)">rotate</A></B>(double d1)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/visualize/PostscriptGraphics.html#rotate(double, double, double)">rotate</A></B>(double d1, double d2, double d3)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/visualize/PostscriptGraphics.html#scale(double, double)">scale</A></B>(double d1, double d2)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/visualize/PostscriptGraphics.html#setBackground(java.awt.Color)">setBackground</A></B>(java.awt.Color c)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/visualize/PostscriptGraphics.html#setClip(int, int, int, int)">setClip</A></B>(int x, int y, int width, int height)</CODE><BR> Not implemented</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/visualize/PostscriptGraphics.html#setClip(java.awt.Shape)">setClip</A></B>(java.awt.Shape clip)</CODE><BR> Not implemented</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/visualize/PostscriptGraphics.html#setColor(java.awt.Color)">setColor</A></B>(java.awt.Color c)</CODE><BR> Set current pen color.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/visualize/PostscriptGraphics.html#setComposite(java.awt.Composite)">setComposite</A></B>(java.awt.Composite c)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/visualize/PostscriptGraphics.html#setFont(java.awt.Font)">setFont</A></B>(java.awt.Font font)</CODE><BR> Set current font.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/visualize/PostscriptGraphics.html#setPaint(java.awt.Paint)">setPaint</A></B>(java.awt.Paint p)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/visualize/PostscriptGraphics.html#setPaintMode()">setPaintMode</A></B>()</CODE><BR> Not implemented</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/visualize/PostscriptGraphics.html#setRenderingHint(java.awt.RenderingHints.Key, java.lang.Object)">setRenderingHint</A></B>(java.awt.RenderingHints.Key key, java.lang.Object o)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/visualize/PostscriptGraphics.html#setRenderingHints(java.util.Map)">setRenderingHints</A></B>(java.util.Map m)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/visualize/PostscriptGraphics.html#setStroke(java.awt.Stroke)">setStroke</A></B>(java.awt.Stroke s)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/visualize/PostscriptGraphics.html#setTransform(java.awt.geom.AffineTransform)">setTransform</A></B>(java.awt.geom.AffineTransform at)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/visualize/PostscriptGraphics.html#setXORMode(java.awt.Color)">setXORMode</A></B>(java.awt.Color c1)</CODE><BR> Not implemented</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/visualize/PostscriptGraphics.html#shear(double, double)">shear</A></B>(double d1, double d2)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/visualize/PostscriptGraphics.html#transform(java.awt.geom.AffineTransform)">transform</A></B>(java.awt.geom.AffineTransform at)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/visualize/PostscriptGraphics.html#translate(double, double)">translate</A></B>(double d1, double d2)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../weka/gui/visualize/PostscriptGraphics.html#translate(int, int)">translate</A></B>(int x, int y)</CODE><BR> Translates the origin of the graphics context to the point (x, y) in the current coordinate system.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.awt.Graphics"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.awt.Graphics</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>create, drawPolygon, getFontMetrics, hitClip, toString</CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="PostscriptGraphics(int, int, java.io.OutputStream)"><!-- --></A><H3>PostscriptGraphics</H3><PRE>public <B>PostscriptGraphics</B>(int width, int height, java.io.OutputStream os)</PRE><DL><DD>Constructor Creates a new PostscriptGraphics object, given dimensions and output file.<P><DT><B>Parameters:</B><DD><CODE>width</CODE> - The width of eps in points.<DD><CODE>height</CODE> - The height of eps in points.<DD><CODE>os</CODE> - File to send postscript to.</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="finished()"><!-- --></A><H3>finished</H3><PRE>public void <B>finished</B>()</PRE><DL><DD>Finalizes output file.<P><DD><DL></DL></DD></DL><HR><A NAME="addPSFontReplacement(java.lang.String, java.lang.String)"><!-- --></A><H3>addPSFontReplacement</H3><PRE>public static void <B>addPSFontReplacement</B>(java.lang.String replace, java.lang.String with)</PRE><DL><DD>adds the PS font name to replace and its replacement in the replacement hashtable<P><DD><DL><DT><B>Parameters:</B><DD><CODE>replace</CODE> - the PS font name to replace<DD><CODE>with</CODE> - the PS font name to replace the font with</DL></DD></DL><HR><A NAME="clearRect(int, int, int, int)"><!-- --></A><H3>clearRect</H3><PRE>public void <B>clearRect</B>(int x, int y, int width, int height)</PRE><DL><DD>Draw a filled rectangle with the background color.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - starting x coord<DD><CODE>y</CODE> - starting y coord<DD><CODE>width</CODE> - rectangle width<DD><CODE>height</CODE> - rectangle height</DL></DD></DL><HR><A NAME="clipRect(int, int, int, int)"><!-- --></A><H3>clipRect</H3><PRE>public void <B>clipRect</B>(int x, int y, int width, int height)</PRE><DL><DD>Not implemented<P><DD><DL></DL></DD></DL><HR><A NAME="copyArea(int, int, int, int, int, int)"><!-- --></A><H3>copyArea</H3><PRE>public void <B>copyArea</B>(int x, int y, int width, int height, int dx, int dy)</PRE><DL><DD>Not implemented<P><DD><DL></DL></DD></DL><HR><A NAME="create()"><!-- --></A><H3>create</H3><PRE>public java.awt.Graphics <B>create</B>()</PRE><DL><DD>Clone a PostscriptGraphics object<P><DD><DL></DL></DD></DL><HR><A NAME="dispose()"><!-- --></A><H3>dispose</H3><PRE>public void <B>dispose</B>()</PRE><DL><DD>Not implemented<P><DD><DL></DL></DD></DL><HR><A NAME="draw3DRect(int, int, int, int, boolean)"><!-- --></A><H3>draw3DRect</H3><PRE>public void <B>draw3DRect</B>(int x, int y, int width, int height, boolean raised)</PRE><DL><DD>Draw an outlined rectangle with 3D effect in current pen color. (Current implementation: draw simple outlined rectangle)<P><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - starting x coord<DD><CODE>y</CODE> - starting y coord<DD><CODE>width</CODE> - rectangle width<DD><CODE>height</CODE> - rectangle height<DD><CODE>raised</CODE> - True: appear raised, False: appear etched</DL></DD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -