mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-11 22:24:13 +01:00
1201 lines
83 KiB
HTML
1201 lines
83 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||
|
<!--NewPage-->
|
||
|
<HTML>
|
||
|
<HEAD>
|
||
|
<TITLE>
|
||
|
PGraphicsPDF
|
||
|
</TITLE>
|
||
|
|
||
|
<META NAME="keywords" CONTENT="processing.pdf.PGraphicsPDF class">
|
||
|
|
||
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
|
||
|
|
||
|
<SCRIPT type="text/javascript">
|
||
|
function windowTitle()
|
||
|
{
|
||
|
parent.document.title="PGraphicsPDF";
|
||
|
}
|
||
|
</SCRIPT>
|
||
|
<NOSCRIPT>
|
||
|
</NOSCRIPT>
|
||
|
|
||
|
</HEAD>
|
||
|
|
||
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||
|
|
||
|
|
||
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
||
|
<A NAME="navbar_top"><!-- --></A>
|
||
|
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
||
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||
|
<TR>
|
||
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||
|
<A NAME="navbar_top_firstrow"><!-- --></A>
|
||
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||
|
<TR ALIGN="center" VALIGN="top">
|
||
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||
|
<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">
|
||
|
PREV CLASS
|
||
|
NEXT CLASS</FONT></TD>
|
||
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||
|
<A HREF="../../index.html?processing/pdf/PGraphicsPDF.html" target="_top"><B>FRAMES</B></A>
|
||
|
<A HREF="PGraphicsPDF.html" target="_top"><B>NO FRAMES</B></A>
|
||
|
<SCRIPT type="text/javascript">
|
||
|
<!--
|
||
|
if(window==top) {
|
||
|
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
|
||
|
}
|
||
|
//-->
|
||
|
</SCRIPT>
|
||
|
<NOSCRIPT>
|
||
|
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
|
||
|
</NOSCRIPT>
|
||
|
|
||
|
|
||
|
</FONT></TD>
|
||
|
</TR>
|
||
|
<TR>
|
||
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||
|
SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_processing.core.PGraphicsJava2D">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: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
<A NAME="skip-navbar_top"></A>
|
||
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
||
|
|
||
|
<HR>
|
||
|
<!-- ======== START OF CLASS DATA ======== -->
|
||
|
<H2>
|
||
|
<FONT SIZE="-1">
|
||
|
processing.pdf</FONT>
|
||
|
<BR>
|
||
|
Class PGraphicsPDF</H2>
|
||
|
<PRE>
|
||
|
java.lang.Object
|
||
|
<IMG SRC="../../resources/inherit.gif" ALT="extended by "><A HREF="../../processing/core/PImage.html" title="class in processing.core">processing.core.PImage</A>
|
||
|
<IMG SRC="../../resources/inherit.gif" ALT="extended by "><A HREF="../../processing/core/PGraphics.html" title="class in processing.core">processing.core.PGraphics</A>
|
||
|
<IMG SRC="../../resources/inherit.gif" ALT="extended by "><A HREF="../../processing/core/PGraphicsJava2D.html" title="class in processing.core">processing.core.PGraphicsJava2D</A>
|
||
|
<IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>processing.pdf.PGraphicsPDF</B>
|
||
|
</PRE>
|
||
|
<DL>
|
||
|
<DT><B>All Implemented Interfaces:</B> <DD>java.lang.Cloneable, <A HREF="../../processing/core/PConstants.html" title="interface in processing.core">PConstants</A></DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
<DL>
|
||
|
<DT><PRE>public class <B>PGraphicsPDF</B><DT>extends <A HREF="../../processing/core/PGraphicsJava2D.html" title="class in processing.core">PGraphicsJava2D</A></DL>
|
||
|
</PRE>
|
||
|
|
||
|
<P>
|
||
|
<HR>
|
||
|
|
||
|
<P>
|
||
|
<!-- =========== FIELD SUMMARY =========== -->
|
||
|
|
||
|
<A NAME="field_summary"><!-- --></A>
|
||
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||
|
<B>Field Summary</B></FONT></TH>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
<A NAME="fields_inherited_from_class_processing.core.PGraphicsJava2D"><!-- --></A>
|
||
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||
|
<TH ALIGN="left"><B>Fields inherited from class processing.core.<A HREF="../../processing/core/PGraphicsJava2D.html" title="class in processing.core">PGraphicsJava2D</A></B></TH>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD><CODE><A HREF="../../processing/core/PGraphicsJava2D.html#fillGradient">fillGradient</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#fillGradientObject">fillGradientObject</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#g2">g2</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#strokeGradient">strokeGradient</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#strokeGradientObject">strokeGradientObject</A></CODE></TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
<A NAME="fields_inherited_from_class_processing.core.PGraphics"><!-- --></A>
|
||
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||
|
<TH ALIGN="left"><B>Fields inherited from class processing.core.<A HREF="../../processing/core/PGraphics.html" title="class in processing.core">PGraphics</A></B></TH>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD><CODE><A HREF="../../processing/core/PGraphics.html#ambientB">ambientB</A>, <A HREF="../../processing/core/PGraphics.html#ambientG">ambientG</A>, <A HREF="../../processing/core/PGraphics.html#ambientR">ambientR</A>, <A HREF="../../processing/core/PGraphics.html#backgroundColor">backgroundColor</A>, <A HREF="../../processing/core/PGraphics.html#bezierDetail">bezierDetail</A>, <A HREF="../../processing/core/PGraphics.html#colorMode">colorMode</A>, <A HREF="../../processing/core/PGraphics.html#colorModeA">colorModeA</A>, <A HREF="../../processing/core/PGraphics.html#colorModeX">colorModeX</A>, <A HREF="../../processing/core/PGraphics.html#colorModeY">colorModeY</A>, <A HREF="../../processing/core/PGraphics.html#colorModeZ">colorModeZ</A>, <A HREF="../../processing/core/PGraphics.html#curveTightness">curveTightness</A>, <A HREF="../../processing/core/PGraphics.html#edge">edge</A>, <A HREF="../../processing/core/PGraphics.html#ellipseMode">ellipseMode</A>, <A HREF="../../processing/core/PGraphics.html#emissiveB">emissiveB</A>, <A HREF="../../processing/core/PGraphics.html#emissiveG">emissiveG</A>, <A HREF="../../processing/core/PGraphics.html#emissiveR">emissiveR</A>, <A HREF="../../processing/core/PGraphics.html#fill">fill</A>, <A HREF="../../processing/core/PGraphics.html#fillColor">fillColor</A>, <A HREF="../../processing/core/PGraphics.html#image">image</A>, <A HREF="../../processing/core/PGraphics.html#imageMode">imageMode</A>, <A HREF="../../processing/core/PGraphics.html#normalX">normalX</A>, <A HREF="../../processing/core/PGraphics.html#normalY">normalY</A>, <A HREF="../../processing/core/PGraphics.html#normalZ">normalZ</A>, <A HREF="../../processing/core/PGraphics.html#pixelCount">pixelCount</A>, <A HREF="../../processing/core/PGraphics.html#rectMode">rectMode</A>, <A HREF="../../processing/core/PGraphics.html#shapeMode">shapeMode</A>, <A HREF="../../processing/core/PGraphics.html#shininess">shininess</A>, <A HREF="../../processing/core/PGraphics.html#smooth">smooth</A>, <A HREF="../../processing/core/PGraphics.html#specularB">specularB</A>, <A HREF="../../processing/core/PGraphics.html#specularG">specularG</A>, <A HREF="../../processing/core/PGraphics.html#specularR">specularR</A>, <A HREF="../../processing/core/PGraphics.html#sphereDetailU">sphereDetailU</A>, <A HREF="../../processing/core/PGraphics.html#sphereDetailV">sphereDetailV</A>, <A HREF="../../processing/core/PGraphics.html#stroke">stroke</A>, <A HREF="../../processing/core/PGraphics.html#strokeCap">strokeCap</A>, <A HREF="../../processing/core/PGraphics.html#strokeColor">strokeColor</A>, <A HREF="../../processing/core/PGraphics.html#strokeJoin">strokeJoin</A>, <A HREF="../../processing/core/PGraphics.html#strokeWeight">strokeWeight</A>, <A HREF="../../processing/core/PGraphics.html#textAlign">textAlign</A>, <A HREF="../../processing/core/PGraphics.html#textAlignY">textAlignY</A>, <A HREF="../../processing/core/PGraphics.html#textFont">textFont</A>, <A HREF="../../processing/core/PGraphics.html#textLeading">textLeading</A>, <A HREF="../../processing/core/PGraphics.html#textMode">textMode</A>, <A HREF="../../processing/core/PGraphics.html#textSize">textSize</A>, <A HREF="../../processing/core/PGraphics.html#textureImage">textureImage</A>, <A HREF="../../processing/core/PGraphics.html#textureMode">textureMode</A>, <A HREF="../../processing/core/PGraphics.html#textureU">textureU</A>, <A HREF="../../processing/core/PGraphics.html#textureV">textureV</A>, <A HREF="../../processing/core/PGraphics.html#tint">tint</A>, <A HREF="../../processing/core/PGraphics.html#tintColor">tintColor</A></CODE></TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
<A NAME="fields_inherited_from_class_processing.core.PImage"><!-- --></A>
|
||
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||
|
<TH ALIGN="left"><B>Fields inherited from class processing.core.<A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A></B></TH>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD><CODE><A HREF="../../processing/core/PImage.html#format">format</A>, <A HREF="../../processing/core/PImage.html#height">height</A>, <A HREF="../../processing/core/PImage.html#parent">parent</A>, <A HREF="../../processing/core/PImage.html#pixels">pixels</A>, <A HREF="../../processing/core/PImage.html#width">width</A></CODE></TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
<A NAME="fields_inherited_from_class_processing.core.PConstants"><!-- --></A>
|
||
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||
|
<TH ALIGN="left"><B>Fields inherited from interface processing.core.<A HREF="../../processing/core/PConstants.html" title="interface in processing.core">PConstants</A></B></TH>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD><CODE><A HREF="../../processing/core/PConstants.html#A">A</A>, <A HREF="../../processing/core/PConstants.html#AB">AB</A>, <A HREF="../../processing/core/PConstants.html#ADD">ADD</A>, <A HREF="../../processing/core/PConstants.html#AG">AG</A>, <A HREF="../../processing/core/PConstants.html#ALPHA">ALPHA</A>, <A HREF="../../processing/core/PConstants.html#ALPHA_MASK">ALPHA_MASK</A>, <A HREF="../../processing/core/PConstants.html#ALT">ALT</A>, <A HREF="../../processing/core/PConstants.html#AMBIENT">AMBIENT</A>, <A HREF="../../processing/core/PConstants.html#AR">AR</A>, <A HREF="../../processing/core/PConstants.html#ARC">ARC</A>, <A HREF="../../processing/core/PConstants.html#ARGB">ARGB</A>, <A HREF="../../processing/core/PConstants.html#ARROW">ARROW</A>, <A HREF="../../processing/core/PConstants.html#B">B</A>, <A HREF="../../processing/core/PConstants.html#BACKSPACE">BACKSPACE</A>, <A HREF="../../processing/core/PConstants.html#BASELINE">BASELINE</A>, <A HREF="../../processing/core/PConstants.html#BEEN_LIT">BEEN_LIT</A>, <A HREF="../../processing/core/PConstants.html#BEVEL">BEVEL</A>, <A HREF="../../processing/core/PConstants.html#BLEND">BLEND</A>, <A HREF="../../processing/core/PConstants.html#BLUE_MASK">BLUE_MASK</A>, <A HREF="../../processing/core/PConstants.html#BLUR">BLUR</A>, <A HREF="../../processing/core/PConstants.html#BOTTOM">BOTTOM</A>, <A HREF="../../processing/core/PConstants.html#BOX">BOX</A>, <A HREF="../../processing/core/PConstants.html#BURN">BURN</A>, <A HREF="../../processing/core/PConstants.html#CENTER">CENTER</A>, <A HREF="../../processing/core/PConstants.html#CENTER_DIAMETER">CENTER_DIAMETER</A>, <A HREF="../../processing/core/PConstants.html#CENTER_RADIUS">CENTER_RADIUS</A>, <A HREF="../../processing/core/PConstants.html#CHATTER">CHATTER</A>, <A HREF="../../processing/core/PConstants.html#CLOSE">CLOSE</A>, <A HREF="../../processing/core/PConstants.html#CMYK">CMYK</A>, <A HREF="../../processing/core/PConstants.html#CODED">CODED</A>, <A HREF="../../processing/core/PConstants.html#COMPLAINT">COMPLAINT</A>, <A HREF="../../processing/core/PConstants.html#CONTROL">CONTROL</A>, <A HREF="../../processing/core/PConstants.html#CORNER">CORNER</A>, <A HREF="../../processing/core/PConstants.html#CORNERS">CORNERS</A>, <A HREF="../../processing/core/PConstants.html#CROSS">CROSS</A>, <A HREF="../../processing/core/PConstants.html#CUSTOM">CUSTOM</A>, <A HREF="../../processing/core/PConstants.html#DA">DA</A>, <A HREF="../../processing/core/PConstants.html#DARKEST">DARKEST</A>, <A HREF="../../processing/core/PConstants.html#DB">DB</A>, <A HREF="../../processing/core/PConstants.html#DEG_TO_RAD">DEG_TO_RAD</A>, <A HREF="../../processing/core/PConstants.html#DELETE">DELETE</A>, <A HREF="../../processing/core/PConstants.html#DG">DG</A>, <A HREF="../../processing/core/PConstants.html#DIAMETER">DIAMETER</A>, <A HREF="../../processing/core/PConstants.html#DIFFERENCE">DIFFERENCE</A>, <A HREF="../../processing/core/PConstants.html#DILATE">DILATE</A>, <A HREF="../../processing/core/PConstants.html#DIRECTIONAL">DIRECTIONAL</A>, <A HREF="../../processing/core/PConstants.html#DISABLE_ACCURATE_TEXTURES">DISABLE_ACCURATE_TEXTURES</A>, <A HREF="../../processing/core/PConstants.html#DISABLE_DEPTH_SORT">DISABLE_DEPTH_SORT</A>, <A HREF="../../processing/core/PConstants.html#DISABLE_DEPTH_TEST">DISABLE_DEPTH_TEST</A>, <A HREF="../../processing/core/PConstants.html#DISABLE_OPENGL_2X_SMOOTH">DISABLE_OPENGL_2X_SMOOTH</A>, <A HREF="../../processing/core/PConstants.html#DISABLE_OPENGL_ERROR_REPORT">DISABLE_OPENGL_ERROR_REPORT</A>, <A HREF="../../processing/core/PConstants.html#DODGE">DODGE</A>, <A HREF="../../processing/core/PConstants.html#DOWN">DOWN</A>, <A HREF="../../processing/core/PConstants.html#DR">DR</A>, <A HREF="../../processing/core/PConstants.html#DXF">DXF</A>, <A HREF="../../processing/core/PConstants.html#EB">EB</A>, <A HREF="../../processing/core/PConstants.html#EDGE">EDGE</A>, <A HREF="../../processing/core/PConstants.html#EG">EG</A>, <A HREF="../../processing/core/PConstants.html#ELLIPSE">ELLIPSE</A>, <A HREF="../../process
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
|
||
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||
|
|
||
|
<A NAME="constructor_summary"><!-- --></A>
|
||
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||
|
<B>Constructor Summary</B></FONT></TH>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD><CODE><B><A HREF="../../processing/pdf/PGraphicsPDF.html#PGraphicsPDF()">PGraphicsPDF</A></B>()</CODE>
|
||
|
|
||
|
<BR>
|
||
|
</TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
|
||
|
<!-- ========== METHOD SUMMARY =========== -->
|
||
|
|
||
|
<A NAME="method_summary"><!-- --></A>
|
||
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||
|
<B>Method Summary</B></FONT></TH>
|
||
|
</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="../../processing/pdf/PGraphicsPDF.html#addFonts(java.lang.String)">addFonts</A></B>(java.lang.String directory)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Add a directory that should be searched for font data.</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="../../processing/pdf/PGraphicsPDF.html#beginDraw()">beginDraw</A></B>()</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Prepares the PGraphics for drawing.</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="../../processing/pdf/PGraphicsPDF.html#blend(int, int, int, int, int)">blend</A></B>(int sx,
|
||
|
int sy,
|
||
|
int dx,
|
||
|
int dy,
|
||
|
int mode)</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="../../processing/pdf/PGraphicsPDF.html#blend(int, int, int, int, int, int, int, int, int)">blend</A></B>(int sx1,
|
||
|
int sy1,
|
||
|
int sx2,
|
||
|
int sy2,
|
||
|
int dx1,
|
||
|
int dy1,
|
||
|
int dx2,
|
||
|
int dy2,
|
||
|
int mode)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Blends one area of this image to another area.</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="../../processing/pdf/PGraphicsPDF.html#blend(processing.core.PImage, int, int, int, int, int)">blend</A></B>(<A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> src,
|
||
|
int sx,
|
||
|
int sy,
|
||
|
int dx,
|
||
|
int dy,
|
||
|
int mode)</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="../../processing/pdf/PGraphicsPDF.html#blend(processing.core.PImage, int, int, int, int, int, int, int, int, int)">blend</A></B>(<A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> src,
|
||
|
int sx1,
|
||
|
int sy1,
|
||
|
int sx2,
|
||
|
int sy2,
|
||
|
int dx1,
|
||
|
int dy1,
|
||
|
int dx2,
|
||
|
int dy2,
|
||
|
int mode)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Copies area of one image into another PImage object.</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="../../processing/pdf/PGraphicsPDF.html#copy(int, int, int, int, int, int, int, int)">copy</A></B>(int sx1,
|
||
|
int sy1,
|
||
|
int sx2,
|
||
|
int sy2,
|
||
|
int dx1,
|
||
|
int dy1,
|
||
|
int dx2,
|
||
|
int dy2)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Copy things from one area of this image
|
||
|
to another area in the same image.</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="../../processing/pdf/PGraphicsPDF.html#copy(processing.core.PImage, int, int, int, int, int, int, int, int)">copy</A></B>(<A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> src,
|
||
|
int sx1,
|
||
|
int sy1,
|
||
|
int sx2,
|
||
|
int sy2,
|
||
|
int dx1,
|
||
|
int dy1,
|
||
|
int dx2,
|
||
|
int dy2)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Copies area of one image into another PImage object.</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="../../processing/pdf/PGraphicsPDF.html#displayable()">displayable</A></B>()</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Don't open a window for this renderer, it won't be used.</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="../../processing/pdf/PGraphicsPDF.html#dispose()">dispose</A></B>()</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Handle any takedown for this graphics context.</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="../../processing/pdf/PGraphicsPDF.html#endDraw()">endDraw</A></B>()</CODE>
|
||
|
|
||
|
<BR>
|
||
|
This will finalize rendering so that it can be shown on-screen.</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="../../processing/pdf/PGraphicsPDF.html#filter(int)">filter</A></B>(int kind)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Method to apply a variety of basic filters to this image.</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="../../processing/pdf/PGraphicsPDF.html#filter(int, float)">filter</A></B>(int kind,
|
||
|
float param)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Method to apply a variety of basic filters to this image.</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> <A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A></CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../processing/pdf/PGraphicsPDF.html#get()">get</A></B>()</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Returns a copy of this PImage.</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> int</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../processing/pdf/PGraphicsPDF.html#get(int, int)">get</A></B>(int x,
|
||
|
int y)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Returns an ARGB "color" type (a packed 32 bit int with the color.</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> <A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A></CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../processing/pdf/PGraphicsPDF.html#get(int, int, int, int)">get</A></B>(int x,
|
||
|
int y,
|
||
|
int c,
|
||
|
int d)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Grab a subsection of a PImage, and copy it into a fresh PImage.</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> java.lang.String[]</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../processing/pdf/PGraphicsPDF.html#listFonts()">listFonts</A></B>()</CODE>
|
||
|
|
||
|
<BR>
|
||
|
List the fonts known to the PDF renderer.</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="../../processing/pdf/PGraphicsPDF.html#loadPixels()">loadPixels</A></B>()</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Call this when you want to mess with the pixels[] array.</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="../../processing/pdf/PGraphicsPDF.html#mask(int[])">mask</A></B>(int[] alpha)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Set alpha channel for an image.</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="../../processing/pdf/PGraphicsPDF.html#mask(processing.core.PImage)">mask</A></B>(<A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> alpha)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Set alpha channel for an image using another image as the source.</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="../../processing/pdf/PGraphicsPDF.html#nextPage()">nextPage</A></B>()</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Call to explicitly go to the next page from within a single draw().</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="../../processing/pdf/PGraphicsPDF.html#save(java.lang.String)">save</A></B>(java.lang.String filename)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Save this image to disk.</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="../../processing/pdf/PGraphicsPDF.html#set(int, int, int)">set</A></B>(int x,
|
||
|
int y,
|
||
|
int argb)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Set a single pixel to the specified 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="../../processing/pdf/PGraphicsPDF.html#set(int, int, processing.core.PImage)">set</A></B>(int x,
|
||
|
int y,
|
||
|
<A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> image)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Efficient method of drawing an image's pixels directly to this surface.</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="../../processing/pdf/PGraphicsPDF.html#setPath(java.lang.String)">setPath</A></B>(java.lang.String path)</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="../../processing/pdf/PGraphicsPDF.html#textMode(int)">textMode</A></B>(int mode)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Change the textMode() to either SHAPE or MODEL.</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="../../processing/pdf/PGraphicsPDF.html#updatePixels()">updatePixels</A></B>()</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Update the pixels[] buffer to the PGraphics image.</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="../../processing/pdf/PGraphicsPDF.html#updatePixels(int, int, int, int)">updatePixels</A></B>(int x,
|
||
|
int y,
|
||
|
int c,
|
||
|
int d)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Update the pixels[] buffer to the PGraphics image.</TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
<A NAME="methods_inherited_from_class_processing.core.PGraphicsJava2D"><!-- --></A>
|
||
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||
|
<TH ALIGN="left"><B>Methods inherited from class processing.core.<A HREF="../../processing/core/PGraphicsJava2D.html" title="class in processing.core">PGraphicsJava2D</A></B></TH>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD><CODE><A HREF="../../processing/core/PGraphicsJava2D.html#applyMatrix(float, float, float, float, float, float)">applyMatrix</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#applyMatrix(float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float)">applyMatrix</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#backgroundImpl()">backgroundImpl</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#beginRaw(processing.core.PGraphics)">beginRaw</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#beginShape(int)">beginShape</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#bezierDetail(int)">bezierDetail</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#bezierVertex(float, float, float, float, float, float)">bezierVertex</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#bezierVertex(float, float, float, float, float, float, float, float, float)">bezierVertex</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#box(float, float, float)">box</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#breakShape()">breakShape</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#canDraw()">canDraw</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#curveDetail(int)">curveDetail</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#curveVertex(float, float, float)">curveVertex</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#endRaw()">endRaw</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#endShape(int)">endShape</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#getImpl(int, int, int, int)">getImpl</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#getMatrix()">getMatrix</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#getMatrix(processing.core.PMatrix2D)">getMatrix</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#getMatrix(processing.core.PMatrix3D)">getMatrix</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#line(float, float, float, float)">line</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#noSmooth()">noSmooth</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#point(float, float)">point</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#popMatrix()">popMatrix</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#printMatrix()">printMatrix</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#pushMatrix()">pushMatrix</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#quad(float, float, float, float, float, float, float, float)">quad</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#resetMatrix()">resetMatrix</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#resize(int, int)">resize</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#rotate(float)">rotate</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#rotate(float, float, float, float)">rotate</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#rotateX(float)">rotateX</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#rotateY(float)">rotateY</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#rotateZ(float)">rotateZ</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#scale(float)">scale</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#scale(float, float)">scale</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#scale(float, float, float)">scale</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#screenX(float, float)">screenX</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#screenX(float, float, float)">screenX</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#screenY(float, float)">screenY</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#screenY(float, float, float)">screenY</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#screenZ(float, float, float)">screenZ</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#setMatrix(processing.core.PMatrix2D)">setMatrix</A>, <A HREF="../../processing/core/PGraphicsJava2D.html#setMatrix(processing.core.PMatrix3D)">setMatrix</A>, <A HREF="../..
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
<A NAME="methods_inherited_from_class_processing.core.PGraphics"><!-- --></A>
|
||
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||
|
<TH ALIGN="left"><B>Methods inherited from class processing.core.<A HREF="../../processing/core/PGraphics.html" title="class in processing.core">PGraphics</A></B></TH>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD><CODE><A HREF="../../processing/core/PGraphics.html#alpha(int)">alpha</A>, <A HREF="../../processing/core/PGraphics.html#ambient(float)">ambient</A>, <A HREF="../../processing/core/PGraphics.html#ambient(float, float, float)">ambient</A>, <A HREF="../../processing/core/PGraphics.html#ambient(int)">ambient</A>, <A HREF="../../processing/core/PGraphics.html#ambientLight(float, float, float)">ambientLight</A>, <A HREF="../../processing/core/PGraphics.html#ambientLight(float, float, float, float, float, float)">ambientLight</A>, <A HREF="../../processing/core/PGraphics.html#applyMatrix(processing.core.PMatrix)">applyMatrix</A>, <A HREF="../../processing/core/PGraphics.html#applyMatrix(processing.core.PMatrix2D)">applyMatrix</A>, <A HREF="../../processing/core/PGraphics.html#applyMatrix(processing.core.PMatrix3D)">applyMatrix</A>, <A HREF="../../processing/core/PGraphics.html#arc(float, float, float, float, float, float)">arc</A>, <A HREF="../../processing/core/PGraphics.html#background(float)">background</A>, <A HREF="../../processing/core/PGraphics.html#background(float, float)">background</A>, <A HREF="../../processing/core/PGraphics.html#background(float, float, float)">background</A>, <A HREF="../../processing/core/PGraphics.html#background(float, float, float, float)">background</A>, <A HREF="../../processing/core/PGraphics.html#background(int)">background</A>, <A HREF="../../processing/core/PGraphics.html#background(int, float)">background</A>, <A HREF="../../processing/core/PGraphics.html#background(processing.core.PImage)">background</A>, <A HREF="../../processing/core/PGraphics.html#beginCamera()">beginCamera</A>, <A HREF="../../processing/core/PGraphics.html#beginShape()">beginShape</A>, <A HREF="../../processing/core/PGraphics.html#bezier(float, float, float, float, float, float, float, float)">bezier</A>, <A HREF="../../processing/core/PGraphics.html#bezier(float, float, float, float, float, float, float, float, float, float, float, float)">bezier</A>, <A HREF="../../processing/core/PGraphics.html#bezierPoint(float, float, float, float, float)">bezierPoint</A>, <A HREF="../../processing/core/PGraphics.html#bezierTangent(float, float, float, float, float)">bezierTangent</A>, <A HREF="../../processing/core/PGraphics.html#blue(int)">blue</A>, <A HREF="../../processing/core/PGraphics.html#box(float)">box</A>, <A HREF="../../processing/core/PGraphics.html#brightness(int)">brightness</A>, <A HREF="../../processing/core/PGraphics.html#camera()">camera</A>, <A HREF="../../processing/core/PGraphics.html#camera(float, float, float, float, float, float, float, float, float)">camera</A>, <A HREF="../../processing/core/PGraphics.html#color(float)">color</A>, <A HREF="../../processing/core/PGraphics.html#color(float, float)">color</A>, <A HREF="../../processing/core/PGraphics.html#color(float, float, float)">color</A>, <A HREF="../../processing/core/PGraphics.html#color(float, float, float, float)">color</A>, <A HREF="../../processing/core/PGraphics.html#color(int)">color</A>, <A HREF="../../processing/core/PGraphics.html#color(int, float)">color</A>, <A HREF="../../processing/core/PGraphics.html#color(int, int)">color</A>, <A HREF="../../processing/core/PGraphics.html#color(int, int, int)">color</A>, <A HREF="../../processing/core/PGraphics.html#color(int, int, int, int)">color</A>, <A HREF="../../processing/core/PGraphics.html#colorMode(int)">colorMode</A>, <A HREF="../../processing/core/PGraphics.html#colorMode(int, float)">colorMode</A>, <A HREF="../../processing/core/PGraphics.html#colorMode(int, float, float, float)">colorMode</A>, <A HREF="../../processing/core/PGraphics.html#colorMode(int, float, float, float, float)">colorMode</A>, <A HREF="../../processing/core/PGraphics.html#curve(float, float, float, float, float, float, float, float)">curve</A>, <A HREF="../../processing/core/PGraphics.html#curve(float, float, float, float, float, float, float, float, float, float, float, float)">curve</A>, <A HREF="../../processing/core/PGraphics.html#curvePoint(float, float, float, float, float)">curvePoint</A>, <A HREF="..
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
<A NAME="methods_inherited_from_class_processing.core.PImage"><!-- --></A>
|
||
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||
|
<TH ALIGN="left"><B>Methods inherited from class processing.core.<A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A></B></TH>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD><CODE><A HREF="../../processing/core/PImage.html#blendColor(int, int, int)">blendColor</A>, <A HREF="../../processing/core/PImage.html#clone()">clone</A>, <A HREF="../../processing/core/PImage.html#getCache(java.lang.Object)">getCache</A>, <A HREF="../../processing/core/PImage.html#getImage()">getImage</A>, <A HREF="../../processing/core/PImage.html#init(int, int, int)">init</A>, <A HREF="../../processing/core/PImage.html#isModified()">isModified</A>, <A HREF="../../processing/core/PImage.html#removeCache(java.lang.Object)">removeCache</A>, <A HREF="../../processing/core/PImage.html#setCache(java.lang.Object, java.lang.Object)">setCache</A>, <A HREF="../../processing/core/PImage.html#setModified()">setModified</A>, <A HREF="../../processing/core/PImage.html#setModified(boolean)">setModified</A></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">
|
||
|
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
|
||
|
<P>
|
||
|
|
||
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||
|
|
||
|
<A NAME="constructor_detail"><!-- --></A>
|
||
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||
|
<B>Constructor Detail</B></FONT></TH>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
|
||
|
<A NAME="PGraphicsPDF()"><!-- --></A><H3>
|
||
|
PGraphicsPDF</H3>
|
||
|
<PRE>
|
||
|
public <B>PGraphicsPDF</B>()</PRE>
|
||
|
<DL>
|
||
|
</DL>
|
||
|
|
||
|
<!-- ============ METHOD DETAIL ========== -->
|
||
|
|
||
|
<A NAME="method_detail"><!-- --></A>
|
||
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||
|
<B>Method Detail</B></FONT></TH>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
|
||
|
<A NAME="setPath(java.lang.String)"><!-- --></A><H3>
|
||
|
setPath</H3>
|
||
|
<PRE>
|
||
|
public void <B>setPath</B>(java.lang.String path)</PRE>
|
||
|
<DL>
|
||
|
<DD><DL>
|
||
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../../processing/core/PGraphics.html#setPath(java.lang.String)">setPath</A></CODE> in class <CODE><A HREF="../../processing/core/PGraphics.html" title="class in processing.core">PGraphics</A></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="beginDraw()"><!-- --></A><H3>
|
||
|
beginDraw</H3>
|
||
|
<PRE>
|
||
|
public void <B>beginDraw</B>()</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from class: <CODE><A HREF="../../processing/core/PGraphics.html#beginDraw()">PGraphics</A></CODE></B></DD>
|
||
|
<DD>Prepares the PGraphics for drawing.
|
||
|
<p/>
|
||
|
When creating your own PGraphics, you should call this before
|
||
|
drawing anything.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../../processing/core/PGraphicsJava2D.html#beginDraw()">beginDraw</A></CODE> in class <CODE><A HREF="../../processing/core/PGraphicsJava2D.html" title="class in processing.core">PGraphicsJava2D</A></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="endDraw()"><!-- --></A><H3>
|
||
|
endDraw</H3>
|
||
|
<PRE>
|
||
|
public void <B>endDraw</B>()</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from class: <CODE><A HREF="../../processing/core/PGraphics.html#endDraw()">PGraphics</A></CODE></B></DD>
|
||
|
<DD>This will finalize rendering so that it can be shown on-screen.
|
||
|
<p/>
|
||
|
When creating your own PGraphics, you should call this when
|
||
|
you're finished drawing.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../../processing/core/PGraphicsJava2D.html#endDraw()">endDraw</A></CODE> in class <CODE><A HREF="../../processing/core/PGraphicsJava2D.html" title="class in processing.core">PGraphicsJava2D</A></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="textMode(int)"><!-- --></A><H3>
|
||
|
textMode</H3>
|
||
|
<PRE>
|
||
|
public void <B>textMode</B>(int mode)</PRE>
|
||
|
<DL>
|
||
|
<DD>Change the textMode() to either SHAPE or MODEL.
|
||
|
<br/>
|
||
|
This resets all renderer settings, and should therefore
|
||
|
be called <EM>before</EM> any other commands that set the fill()
|
||
|
or the textFont() or anything. Unlike other renderers,
|
||
|
use textMode() directly after the size() command.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../../processing/core/PGraphics.html#textMode(int)">textMode</A></CODE> in class <CODE><A HREF="../../processing/core/PGraphics.html" title="class in processing.core">PGraphics</A></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="nextPage()"><!-- --></A><H3>
|
||
|
nextPage</H3>
|
||
|
<PRE>
|
||
|
public void <B>nextPage</B>()</PRE>
|
||
|
<DL>
|
||
|
<DD>Call to explicitly go to the next page from within a single draw().
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="dispose()"><!-- --></A><H3>
|
||
|
dispose</H3>
|
||
|
<PRE>
|
||
|
public void <B>dispose</B>()</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from class: <CODE><A HREF="../../processing/core/PGraphics.html#dispose()">PGraphics</A></CODE></B></DD>
|
||
|
<DD>Handle any takedown for this graphics context.
|
||
|
<p>
|
||
|
This is called when a sketch is shut down and this renderer was
|
||
|
specified using the size() command, or inside endRecord() and
|
||
|
endRaw(), in order to shut things off.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../../processing/core/PGraphics.html#dispose()">dispose</A></CODE> in class <CODE><A HREF="../../processing/core/PGraphics.html" title="class in processing.core">PGraphics</A></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="displayable()"><!-- --></A><H3>
|
||
|
displayable</H3>
|
||
|
<PRE>
|
||
|
public boolean <B>displayable</B>()</PRE>
|
||
|
<DL>
|
||
|
<DD>Don't open a window for this renderer, it won't be used.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../../processing/core/PGraphics.html#displayable()">displayable</A></CODE> in class <CODE><A HREF="../../processing/core/PGraphics.html" title="class in processing.core">PGraphics</A></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="loadPixels()"><!-- --></A><H3>
|
||
|
loadPixels</H3>
|
||
|
<PRE>
|
||
|
public void <B>loadPixels</B>()</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from class: <CODE><A HREF="../../processing/core/PImage.html#loadPixels()">PImage</A></CODE></B></DD>
|
||
|
<DD>Call this when you want to mess with the pixels[] array.
|
||
|
<p/>
|
||
|
For subclasses where the pixels[] buffer isn't set by default,
|
||
|
this should copy all data into the pixels[] array
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../../processing/core/PGraphicsJava2D.html#loadPixels()">loadPixels</A></CODE> in class <CODE><A HREF="../../processing/core/PGraphicsJava2D.html" title="class in processing.core">PGraphicsJava2D</A></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="updatePixels()"><!-- --></A><H3>
|
||
|
updatePixels</H3>
|
||
|
<PRE>
|
||
|
public void <B>updatePixels</B>()</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from class: <CODE><A HREF="../../processing/core/PGraphicsJava2D.html#updatePixels()">PGraphicsJava2D</A></CODE></B></DD>
|
||
|
<DD>Update the pixels[] buffer to the PGraphics image.
|
||
|
<P>
|
||
|
Unlike in PImage, where updatePixels() only requests that the
|
||
|
update happens, in PGraphicsJava2D, this will happen immediately.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../../processing/core/PGraphicsJava2D.html#updatePixels()">updatePixels</A></CODE> in class <CODE><A HREF="../../processing/core/PGraphicsJava2D.html" title="class in processing.core">PGraphicsJava2D</A></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="updatePixels(int, int, int, int)"><!-- --></A><H3>
|
||
|
updatePixels</H3>
|
||
|
<PRE>
|
||
|
public void <B>updatePixels</B>(int x,
|
||
|
int y,
|
||
|
int c,
|
||
|
int d)</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from class: <CODE><A HREF="../../processing/core/PGraphicsJava2D.html#updatePixels(int, int, int, int)">PGraphicsJava2D</A></CODE></B></DD>
|
||
|
<DD>Update the pixels[] buffer to the PGraphics image.
|
||
|
<P>
|
||
|
Unlike in PImage, where updatePixels() only requests that the
|
||
|
update happens, in PGraphicsJava2D, this will happen immediately.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../../processing/core/PGraphicsJava2D.html#updatePixels(int, int, int, int)">updatePixels</A></CODE> in class <CODE><A HREF="../../processing/core/PGraphicsJava2D.html" title="class in processing.core">PGraphicsJava2D</A></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="get(int, int)"><!-- --></A><H3>
|
||
|
get</H3>
|
||
|
<PRE>
|
||
|
public int <B>get</B>(int x,
|
||
|
int y)</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from class: <CODE><A HREF="../../processing/core/PImage.html#get(int, int)">PImage</A></CODE></B></DD>
|
||
|
<DD>Returns an ARGB "color" type (a packed 32 bit int with the color.
|
||
|
If the coordinate is outside the image, zero is returned
|
||
|
(black, but completely transparent).
|
||
|
<P>
|
||
|
If the image is in RGB format (i.e. on a PVideo object),
|
||
|
the value will get its high bits set, just to avoid cases where
|
||
|
they haven't been set already.
|
||
|
<P>
|
||
|
If the image is in ALPHA format, this returns a white with its
|
||
|
alpha value set.
|
||
|
<P>
|
||
|
This function is included primarily for beginners. It is quite
|
||
|
slow because it has to check to see if the x, y that was provided
|
||
|
is inside the bounds, and then has to check to see what image
|
||
|
type it is. If you want things to be more efficient, access the
|
||
|
pixels[] array directly.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../../processing/core/PGraphicsJava2D.html#get(int, int)">get</A></CODE> in class <CODE><A HREF="../../processing/core/PGraphicsJava2D.html" title="class in processing.core">PGraphicsJava2D</A></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="get(int, int, int, int)"><!-- --></A><H3>
|
||
|
get</H3>
|
||
|
<PRE>
|
||
|
public <A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> <B>get</B>(int x,
|
||
|
int y,
|
||
|
int c,
|
||
|
int d)</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from class: <CODE><A HREF="../../processing/core/PImage.html#get(int, int, int, int)">PImage</A></CODE></B></DD>
|
||
|
<DD>Grab a subsection of a PImage, and copy it into a fresh PImage.
|
||
|
As of release 0149, no longer honors imageMode() for the coordinates.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../../processing/core/PImage.html#get(int, int, int, int)">get</A></CODE> in class <CODE><A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="get()"><!-- --></A><H3>
|
||
|
get</H3>
|
||
|
<PRE>
|
||
|
public <A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> <B>get</B>()</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from class: <CODE><A HREF="../../processing/core/PImage.html#get()">PImage</A></CODE></B></DD>
|
||
|
<DD>Returns a copy of this PImage. Equivalent to get(0, 0, width, height).
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../../processing/core/PGraphicsJava2D.html#get()">get</A></CODE> in class <CODE><A HREF="../../processing/core/PGraphicsJava2D.html" title="class in processing.core">PGraphicsJava2D</A></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="set(int, int, int)"><!-- --></A><H3>
|
||
|
set</H3>
|
||
|
<PRE>
|
||
|
public void <B>set</B>(int x,
|
||
|
int y,
|
||
|
int argb)</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from class: <CODE><A HREF="../../processing/core/PImage.html#set(int, int, int)">PImage</A></CODE></B></DD>
|
||
|
<DD>Set a single pixel to the specified color.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../../processing/core/PGraphicsJava2D.html#set(int, int, int)">set</A></CODE> in class <CODE><A HREF="../../processing/core/PGraphicsJava2D.html" title="class in processing.core">PGraphicsJava2D</A></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="set(int, int, processing.core.PImage)"><!-- --></A><H3>
|
||
|
set</H3>
|
||
|
<PRE>
|
||
|
public void <B>set</B>(int x,
|
||
|
int y,
|
||
|
<A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> image)</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from class: <CODE><A HREF="../../processing/core/PImage.html#set(int, int, processing.core.PImage)">PImage</A></CODE></B></DD>
|
||
|
<DD>Efficient method of drawing an image's pixels directly to this surface.
|
||
|
No variations are employed, meaning that any scale, tint, or imageMode
|
||
|
settings will be ignored.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../../processing/core/PImage.html#set(int, int, processing.core.PImage)">set</A></CODE> in class <CODE><A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="mask(int[])"><!-- --></A><H3>
|
||
|
mask</H3>
|
||
|
<PRE>
|
||
|
public void <B>mask</B>(int[] alpha)</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from class: <CODE><A HREF="../../processing/core/PImage.html#mask(int[])">PImage</A></CODE></B></DD>
|
||
|
<DD>Set alpha channel for an image. Black colors in the source
|
||
|
image will make the destination image completely transparent,
|
||
|
and white will make things fully opaque. Gray values will
|
||
|
be in-between steps.
|
||
|
<P>
|
||
|
Strictly speaking the "blue" value from the source image is
|
||
|
used as the alpha color. For a fully grayscale image, this
|
||
|
is correct, but for a color image it's not 100% accurate.
|
||
|
For a more accurate conversion, first use filter(GRAY)
|
||
|
which will make the image into a "correct" grayscake by
|
||
|
performing a proper luminance-based conversion.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../../processing/core/PGraphicsJava2D.html#mask(int[])">mask</A></CODE> in class <CODE><A HREF="../../processing/core/PGraphicsJava2D.html" title="class in processing.core">PGraphicsJava2D</A></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="mask(processing.core.PImage)"><!-- --></A><H3>
|
||
|
mask</H3>
|
||
|
<PRE>
|
||
|
public void <B>mask</B>(<A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> alpha)</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from class: <CODE><A HREF="../../processing/core/PImage.html#mask(processing.core.PImage)">PImage</A></CODE></B></DD>
|
||
|
<DD>Set alpha channel for an image using another image as the source.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../../processing/core/PGraphicsJava2D.html#mask(processing.core.PImage)">mask</A></CODE> in class <CODE><A HREF="../../processing/core/PGraphicsJava2D.html" title="class in processing.core">PGraphicsJava2D</A></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="filter(int)"><!-- --></A><H3>
|
||
|
filter</H3>
|
||
|
<PRE>
|
||
|
public void <B>filter</B>(int kind)</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from class: <CODE><A HREF="../../processing/core/PImage.html#filter(int)">PImage</A></CODE></B></DD>
|
||
|
<DD>Method to apply a variety of basic filters to this image.
|
||
|
<P>
|
||
|
<UL>
|
||
|
<LI>filter(BLUR) provides a basic blur.
|
||
|
<LI>filter(GRAY) converts the image to grayscale based on luminance.
|
||
|
<LI>filter(INVERT) will invert the color components in the image.
|
||
|
<LI>filter(OPAQUE) set all the high bits in the image to opaque
|
||
|
<LI>filter(THRESHOLD) converts the image to black and white.
|
||
|
<LI>filter(DILATE) grow white/light areas
|
||
|
<LI>filter(ERODE) shrink white/light areas
|
||
|
</UL>
|
||
|
Luminance conversion code contributed by
|
||
|
<A HREF="http://www.toxi.co.uk">toxi</A>
|
||
|
<P/>
|
||
|
Gaussian blur code contributed by
|
||
|
<A HREF="http://incubator.quasimondo.com">Mario Klingemann</A>
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../../processing/core/PImage.html#filter(int)">filter</A></CODE> in class <CODE><A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="filter(int, float)"><!-- --></A><H3>
|
||
|
filter</H3>
|
||
|
<PRE>
|
||
|
public void <B>filter</B>(int kind,
|
||
|
float param)</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from class: <CODE><A HREF="../../processing/core/PImage.html#filter(int, float)">PImage</A></CODE></B></DD>
|
||
|
<DD>Method to apply a variety of basic filters to this image.
|
||
|
These filters all take a parameter.
|
||
|
<P>
|
||
|
<UL>
|
||
|
<LI>filter(BLUR, int radius) performs a gaussian blur of the
|
||
|
specified radius.
|
||
|
<LI>filter(POSTERIZE, int levels) will posterize the image to
|
||
|
between 2 and 255 levels.
|
||
|
<LI>filter(THRESHOLD, float center) allows you to set the
|
||
|
center point for the threshold. It takes a value from 0 to 1.0.
|
||
|
</UL>
|
||
|
Gaussian blur code contributed by
|
||
|
<A HREF="http://incubator.quasimondo.com">Mario Klingemann</A>
|
||
|
and later updated by toxi for better speed.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../../processing/core/PImage.html#filter(int, float)">filter</A></CODE> in class <CODE><A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="copy(int, int, int, int, int, int, int, int)"><!-- --></A><H3>
|
||
|
copy</H3>
|
||
|
<PRE>
|
||
|
public void <B>copy</B>(int sx1,
|
||
|
int sy1,
|
||
|
int sx2,
|
||
|
int sy2,
|
||
|
int dx1,
|
||
|
int dy1,
|
||
|
int dx2,
|
||
|
int dy2)</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from class: <CODE><A HREF="../../processing/core/PImage.html#copy(int, int, int, int, int, int, int, int)">PImage</A></CODE></B></DD>
|
||
|
<DD>Copy things from one area of this image
|
||
|
to another area in the same image.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../../processing/core/PGraphicsJava2D.html#copy(int, int, int, int, int, int, int, int)">copy</A></CODE> in class <CODE><A HREF="../../processing/core/PGraphicsJava2D.html" title="class in processing.core">PGraphicsJava2D</A></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="copy(processing.core.PImage, int, int, int, int, int, int, int, int)"><!-- --></A><H3>
|
||
|
copy</H3>
|
||
|
<PRE>
|
||
|
public void <B>copy</B>(<A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> src,
|
||
|
int sx1,
|
||
|
int sy1,
|
||
|
int sx2,
|
||
|
int sy2,
|
||
|
int dx1,
|
||
|
int dy1,
|
||
|
int dx2,
|
||
|
int dy2)</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from class: <CODE><A HREF="../../processing/core/PImage.html#copy(processing.core.PImage, int, int, int, int, int, int, int, int)">PImage</A></CODE></B></DD>
|
||
|
<DD>Copies area of one image into another PImage object.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../../processing/core/PImage.html#copy(processing.core.PImage, int, int, int, int, int, int, int, int)">copy</A></CODE> in class <CODE><A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="blend(int, int, int, int, int)"><!-- --></A><H3>
|
||
|
blend</H3>
|
||
|
<PRE>
|
||
|
public void <B>blend</B>(int sx,
|
||
|
int sy,
|
||
|
int dx,
|
||
|
int dy,
|
||
|
int mode)</PRE>
|
||
|
<DL>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="blend(processing.core.PImage, int, int, int, int, int)"><!-- --></A><H3>
|
||
|
blend</H3>
|
||
|
<PRE>
|
||
|
public void <B>blend</B>(<A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> src,
|
||
|
int sx,
|
||
|
int sy,
|
||
|
int dx,
|
||
|
int dy,
|
||
|
int mode)</PRE>
|
||
|
<DL>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="blend(int, int, int, int, int, int, int, int, int)"><!-- --></A><H3>
|
||
|
blend</H3>
|
||
|
<PRE>
|
||
|
public void <B>blend</B>(int sx1,
|
||
|
int sy1,
|
||
|
int sx2,
|
||
|
int sy2,
|
||
|
int dx1,
|
||
|
int dy1,
|
||
|
int dx2,
|
||
|
int dy2,
|
||
|
int mode)</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from class: <CODE><A HREF="../../processing/core/PImage.html#blend(int, int, int, int, int, int, int, int, int)">PImage</A></CODE></B></DD>
|
||
|
<DD>Blends one area of this image to another area.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../../processing/core/PImage.html#blend(int, int, int, int, int, int, int, int, int)">blend</A></CODE> in class <CODE><A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
<DT><B>See Also:</B><DD><A HREF="../../processing/core/PImage.html#blendColor(int, int, int)"><CODE>PImage.blendColor(int,int,int)</CODE></A></DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="blend(processing.core.PImage, int, int, int, int, int, int, int, int, int)"><!-- --></A><H3>
|
||
|
blend</H3>
|
||
|
<PRE>
|
||
|
public void <B>blend</B>(<A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A> src,
|
||
|
int sx1,
|
||
|
int sy1,
|
||
|
int sx2,
|
||
|
int sy2,
|
||
|
int dx1,
|
||
|
int dy1,
|
||
|
int dx2,
|
||
|
int dy2,
|
||
|
int mode)</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from class: <CODE><A HREF="../../processing/core/PImage.html#blend(processing.core.PImage, int, int, int, int, int, int, int, int, int)">PImage</A></CODE></B></DD>
|
||
|
<DD>Copies area of one image into another PImage object.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../../processing/core/PImage.html#blend(processing.core.PImage, int, int, int, int, int, int, int, int, int)">blend</A></CODE> in class <CODE><A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
<DT><B>See Also:</B><DD><A HREF="../../processing/core/PImage.html#blendColor(int, int, int)"><CODE>PImage.blendColor(int,int,int)</CODE></A></DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="save(java.lang.String)"><!-- --></A><H3>
|
||
|
save</H3>
|
||
|
<PRE>
|
||
|
public void <B>save</B>(java.lang.String filename)</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from class: <CODE><A HREF="../../processing/core/PImage.html#save(java.lang.String)">PImage</A></CODE></B></DD>
|
||
|
<DD>Save this image to disk.
|
||
|
<p>
|
||
|
As of revision 0100, this function requires an absolute path,
|
||
|
in order to avoid confusion. To save inside the sketch folder,
|
||
|
use the function savePath() from PApplet, or use saveFrame() instead.
|
||
|
As of revision 0116, savePath() is not needed if this object has been
|
||
|
created (as recommended) via createImage() or createGraphics() or
|
||
|
one of its neighbors.
|
||
|
<p>
|
||
|
As of revision 0115, when using Java 1.4 and later, you can write
|
||
|
to several formats besides tga and tiff. If Java 1.4 is installed
|
||
|
and the extension used is supported (usually png, jpg, jpeg, bmp,
|
||
|
and tiff), then those methods will be used to write the image.
|
||
|
To get a list of the supported formats for writing, use: <BR>
|
||
|
<TT>println(javax.imageio.ImageIO.getReaderFormatNames())</TT>
|
||
|
<p>
|
||
|
To use the original built-in image writers, use .tga or .tif as the
|
||
|
extension, or don't include an extension. When no extension is used,
|
||
|
the extension .tif will be added to the file name.
|
||
|
<p>
|
||
|
The ImageIO API claims to support wbmp files, however they probably
|
||
|
require a black and white image. Basic testing produced a zero-length
|
||
|
file with no error.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Overrides:</B><DD><CODE><A HREF="../../processing/core/PImage.html#save(java.lang.String)">save</A></CODE> in class <CODE><A HREF="../../processing/core/PImage.html" title="class in processing.core">PImage</A></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="addFonts(java.lang.String)"><!-- --></A><H3>
|
||
|
addFonts</H3>
|
||
|
<PRE>
|
||
|
public void <B>addFonts</B>(java.lang.String directory)</PRE>
|
||
|
<DL>
|
||
|
<DD>Add a directory that should be searched for font data.
|
||
|
<br/>
|
||
|
On Mac OS X, the following directories are added by default:
|
||
|
<UL>
|
||
|
<LI>/System/Library/Fonts
|
||
|
<LI>/Library/Fonts
|
||
|
<LI>~/Library/Fonts
|
||
|
</UL>
|
||
|
On Windows, all drive letters are searched for WINDOWS\Fonts
|
||
|
or WINNT\Fonts, any that exists is added.
|
||
|
<br/><br/>
|
||
|
On Linux or any other platform, you'll need to add the
|
||
|
directories by hand. (If there are actual standards here that we
|
||
|
can use as a starting point, please file a bug to make a note of it)
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="listFonts()"><!-- --></A><H3>
|
||
|
listFonts</H3>
|
||
|
<PRE>
|
||
|
public java.lang.String[] <B>listFonts</B>()</PRE>
|
||
|
<DL>
|
||
|
<DD>List the fonts known to the PDF renderer. This is like PFont.list(),
|
||
|
however not all those fonts are available by default.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<!-- ========= END OF CLASS DATA ========= -->
|
||
|
<HR>
|
||
|
|
||
|
|
||
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||
|
<A NAME="navbar_bottom"><!-- --></A>
|
||
|
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||
|
<TR>
|
||
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||
|
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
||
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
||
|
<TR ALIGN="center" VALIGN="top">
|
||
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
||
|
<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">
|
||
|
PREV CLASS
|
||
|
NEXT CLASS</FONT></TD>
|
||
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||
|
<A HREF="../../index.html?processing/pdf/PGraphicsPDF.html" target="_top"><B>FRAMES</B></A>
|
||
|
<A HREF="PGraphicsPDF.html" target="_top"><B>NO FRAMES</B></A>
|
||
|
<SCRIPT type="text/javascript">
|
||
|
<!--
|
||
|
if(window==top) {
|
||
|
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
|
||
|
}
|
||
|
//-->
|
||
|
</SCRIPT>
|
||
|
<NOSCRIPT>
|
||
|
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
|
||
|
</NOSCRIPT>
|
||
|
|
||
|
|
||
|
</FONT></TD>
|
||
|
</TR>
|
||
|
<TR>
|
||
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||
|
SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_processing.core.PGraphicsJava2D">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: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
<A NAME="skip-navbar_bottom"></A>
|
||
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||
|
|
||
|
<HR>
|
||
|
|
||
|
</BODY>
|
||
|
</HTML>
|