Java Doc for PSGraphics2D.java in  » Graphic-Library » xmlgraphics-commons-1.2 » org » apache » xmlgraphics » java2d » ps » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Graphic Library » xmlgraphics commons 1.2 » org.apache.xmlgraphics.java2d.ps 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.awt.Graphics
      java.awt.Graphics2D
         org.apache.xmlgraphics.java2d.AbstractGraphics2D
            org.apache.xmlgraphics.java2d.ps.PSGraphics2D

All known Subclasses:   org.apache.xmlgraphics.java2d.ps.AbstractPSDocumentGraphics2D,
PSGraphics2D
public class PSGraphics2D extends AbstractGraphics2D (Code)
This is a concrete implementation of AbstractGraphics2D (and therefore of Graphics2D) which is able to generate PostScript code.
author:
   Keiron Liddle
version:
   $Id: PSGraphics2D.java 548990 2007-06-20 08:28:52Z jeremias $
See Also:   org.apache.xmlgraphics.java2d.AbstractGraphics2D


Field Summary
protected  ColorcurrentColour
    
protected  TextHandlercustomTextHandler
    
protected  TextHandlerfallbackTextHandler
    
protected  PSGeneratorgen
    

Constructor Summary
public  PSGraphics2D(boolean textAsShapes)
     Create a new Graphics2D that generates PostScript code.
public  PSGraphics2D(boolean textAsShapes, PSGenerator gen)
     Create a new Graphics2D that generates PostScript code.
public  PSGraphics2D(PSGraphics2D g)
    

Method Summary
protected  voidapplyPaint(Paint paint, boolean fill)
     Applies a new Paint object.
protected  voidapplyStroke(Stroke stroke)
     Applies a new Stroke object.
public  BufferedImagebuildBufferedImage(Dimension size)
     Creates a buffered image.
public  voidcopyArea(int x, int y, int width, int height, int dx, int dy)
     Copies an area of the component by a distance specified by dx and dy.
public  Graphicscreate()
     Creates a new Graphics object that is a copy of this Graphics object.
public  voiddispose()
     Disposes of this graphics context and releases any system resources that it is using. A Graphics object cannot be used after disposehas been called.

When a Java program runs, a large number of Graphics objects can be created within a short time frame. Although the finalization process of the garbage collector also disposes of the same system resources, it is preferable to manually free the associated resources by calling this method rather than to rely on a finalization process which may not run to completion for a long period of time.

Graphics objects which are provided as arguments to the paint and update methods of components are automatically released by the system when those methods return.

protected  voiddoDrawing(boolean fill, boolean stroke, boolean nonzero)
     Commits a painting operation.
public  voiddraw(Shape s)
     Strokes the outline of a Shape using the settings of the current Graphics2D context.
public  booleandrawImage(Image img, int x, int y, ImageObserver observer)
     Draws as much of the specified image as is currently available. The image is drawn with its top-left corner at (xy) in this graphics context's coordinate space.
public  booleandrawImage(Image img, int x, int y, int width, int height, ImageObserver observer)
     Draws as much of the specified image as has already been scaled to fit inside the specified rectangle.

The image is drawn inside the specified rectangle of this graphics context's coordinate space, and is scaled if necessary.

public  voiddrawRenderableImage(RenderableImage img, AffineTransform xform)
     Renders a RenderableImage , applying a transform from image space into user space before drawing. The transformation from user space into device space is done with the current Transform in the Graphics2D. The specified transformation is applied to the image before the transform attribute in the Graphics2D context is applied. The rendering attributes applied include the Clip, Transform, and Composite attributes.
public  voiddrawRenderedImage(RenderedImage img, AffineTransform xform)
     Renders a RenderedImage , applying a transform from image space into user space before drawing. The transformation from user space into device space is done with the current Transform in the Graphics2D. The specified transformation is applied to the image before the transform attribute in the Graphics2D context is applied. The rendering attributes applied include the Clip, Transform, and Composite attributes.
public  voiddrawString(String s, float x, float y)
     Renders the text specified by the specified String, using the current Font and Paint attributes in the Graphics2D context. The baseline of the first character is at position (xy) in the User Space. The rendering attributes applied include the Clip, Transform, Paint, Font and Composite attributes.
public  voidestablishColor(Color c)
     Establishes the given color in the PostScript interpreter.
public  voidfill(Shape s)
     Fills the interior of a Shape using the settings of the Graphics2D context.
public  TextHandlergetCustomTextHandler()
    
public  GraphicsConfigurationgetDeviceConfiguration()
     Returns the device configuration associated with this Graphics2D.
public  TextHandlergetFallbackTextHandler()
    
public  java.awt.FontMetricsgetFontMetrics(java.awt.Font f)
     Gets the font metrics for the specified font.
public  PSGeneratorgetPSGenerator()
     the PostScript generator used by this instance.
public  voidhandleIOException(IOException ioe)
     Central handler for IOExceptions for this class.
public  voidpreparePainting()
     This method is used by AbstractPSDocumentGraphics2D to prepare a new page if necessary.
public  voidprocessPathIterator(PathIterator iter)
     Processes a path iterator generating the nexessary painting operations.
public  voidsetCustomTextHandler(TextHandler handler)
     Sets a custom TextHandler implementation that is reponsible for painting text.
public  voidsetGraphicContext(GraphicContext c)
    
public  voidsetPSGenerator(PSGenerator gen)
    
public  voidsetXORMode(Color c1)
     Sets the paint mode of this graphics context to alternate between this graphics context's current color and the new specified color.
public  voidwriteClip(Shape s)
    

Field Detail
currentColour
protected Color currentColour(Code)
the current colour for use in svg



customTextHandler
protected TextHandler customTextHandler(Code)
Custom text handler



fallbackTextHandler
protected TextHandler fallbackTextHandler(Code)
Fallback text handler



gen
protected PSGenerator gen(Code)
the PostScript generator being created




Constructor Detail
PSGraphics2D
public PSGraphics2D(boolean textAsShapes)(Code)
Create a new Graphics2D that generates PostScript code.
Parameters:
  textAsShapes - True if text should be rendered as graphics
See Also:   org.apache.xmlgraphics.java2d.AbstractGraphics2D.AbstractGraphics2D(boolean)



PSGraphics2D
public PSGraphics2D(boolean textAsShapes, PSGenerator gen)(Code)
Create a new Graphics2D that generates PostScript code.
Parameters:
  textAsShapes - True if text should be rendered as graphics
Parameters:
  gen - PostScript generator to use for output
See Also:   org.apache.xmlgraphics.java2d.AbstractGraphics2D.AbstractGraphics2D(boolean)



PSGraphics2D
public PSGraphics2D(PSGraphics2D g)(Code)
Constructor for creating copies
Parameters:
  g - parent PostScript Graphics2D




Method Detail
applyPaint
protected void applyPaint(Paint paint, boolean fill)(Code)
Applies a new Paint object.
Parameters:
  paint - Paint object to use
Parameters:
  fill - True if to be applied for filling



applyStroke
protected void applyStroke(Stroke stroke)(Code)
Applies a new Stroke object.
Parameters:
  stroke - Stroke object to use



buildBufferedImage
public BufferedImage buildBufferedImage(Dimension size)(Code)
Creates a buffered image.
Parameters:
  size - dimensions of the image to be created the buffered image



copyArea
public void copyArea(int x, int y, int width, int height, int dx, int dy)(Code)
Copies an area of the component by a distance specified by dx and dy. From the point specified by x and y, this method copies downwards and to the right. To copy an area of the component to the left or upwards, specify a negative value for dx or dy. If a portion of the source rectangle lies outside the bounds of the component, or is obscured by another window or component, copyArea will be unable to copy the associated pixels. The area that is omitted can be refreshed by calling the component's paint method.
Parameters:
  x - the x coordinate of the source rectangle.
Parameters:
  y - the y coordinate of the source rectangle.
Parameters:
  width - the width of the source rectangle.
Parameters:
  height - the height of the source rectangle.
Parameters:
  dx - the horizontal distance to copy the pixels.
Parameters:
  dy - the vertical distance to copy the pixels.



create
public Graphics create()(Code)
Creates a new Graphics object that is a copy of this Graphics object. a new graphics context that is a copy ofthis graphics context.



dispose
public void dispose()(Code)
Disposes of this graphics context and releases any system resources that it is using. A Graphics object cannot be used after disposehas been called.

When a Java program runs, a large number of Graphics objects can be created within a short time frame. Although the finalization process of the garbage collector also disposes of the same system resources, it is preferable to manually free the associated resources by calling this method rather than to rely on a finalization process which may not run to completion for a long period of time.

Graphics objects which are provided as arguments to the paint and update methods of components are automatically released by the system when those methods return. For efficiency, programmers should call dispose when finished using a Graphics object only if it was created directly from a component or another Graphics object.
See Also:   java.awt.Graphics.finalize
See Also:   java.awt.Component.paint
See Also:   java.awt.Component.update
See Also:   java.awt.Component.getGraphics
See Also:   java.awt.Graphics.create




doDrawing
protected void doDrawing(boolean fill, boolean stroke, boolean nonzero) throws IOException(Code)
Commits a painting operation.
Parameters:
  fill - filling
Parameters:
  stroke - stroking
Parameters:
  nonzero - true if the non-zero winding rule should be used when filling
exception:
  IOException - In case of an I/O problem



draw
public void draw(Shape s)(Code)
Strokes the outline of a Shape using the settings of the current Graphics2D context. The rendering attributes applied include the Clip, Transform, Paint, Composite and Stroke attributes.
Parameters:
  s - the Shape to be rendered
See Also:   PSGraphics2D.setStroke
See Also:   PSGraphics2D.setPaint
See Also:   java.awt.Graphics.setColor
See Also:   PSGraphics2D.transform
See Also:   PSGraphics2D.setTransform
See Also:   PSGraphics2D.clip
See Also:   PSGraphics2D.setClip
See Also:   PSGraphics2D.setComposite



drawImage
public boolean drawImage(Image img, int x, int y, ImageObserver observer)(Code)
Draws as much of the specified image as is currently available. The image is drawn with its top-left corner at (xy) in this graphics context's coordinate space. Transparent pixels in the image do not affect whatever pixels are already there.

This method returns immediately in all cases, even if the complete image has not yet been loaded, and it has not been dithered and converted for the current output device.

If the image has not yet been completely loaded, then drawImage returns false. As more of the image becomes available, the process that draws the image notifies the specified image observer.
Parameters:
  img - the specified image to be drawn.
Parameters:
  x - the x coordinate.
Parameters:
  y - the y coordinate.
Parameters:
  observer - object to be notified as more ofthe image is converted. True if the image has been fully drawn/loaded
See Also:   java.awt.Image
See Also:   java.awt.image.ImageObserver
See Also:   java.awt.image.ImageObserver.imageUpdate(java.awt.Imageintintintintint)




drawImage
public boolean drawImage(Image img, int x, int y, int width, int height, ImageObserver observer)(Code)
Draws as much of the specified image as has already been scaled to fit inside the specified rectangle.

The image is drawn inside the specified rectangle of this graphics context's coordinate space, and is scaled if necessary. Transparent pixels do not affect whatever pixels are already there.

This method returns immediately in all cases, even if the entire image has not yet been scaled, dithered, and converted for the current output device. If the current output representation is not yet complete, then drawImage returns false. As more of the image becomes available, the process that draws the image notifies the image observer by calling its imageUpdate method.

A scaled version of an image will not necessarily be available immediately just because an unscaled version of the image has been constructed for this output device. Each size of the image may be cached separately and generated from the original data in a separate image production sequence.
Parameters:
  img - the specified image to be drawn.
Parameters:
  x - the x coordinate.
Parameters:
  y - the y coordinate.
Parameters:
  width - the width of the rectangle.
Parameters:
  height - the height of the rectangle.
Parameters:
  observer - object to be notified as more ofthe image is converted. True if the image has been fully loaded/drawn
See Also:   java.awt.Image
See Also:   java.awt.image.ImageObserver
See Also:   java.awt.image.ImageObserver.imageUpdate(java.awt.Imageintintintintint)




drawRenderableImage
public void drawRenderableImage(RenderableImage img, AffineTransform xform)(Code)
Renders a RenderableImage , applying a transform from image space into user space before drawing. The transformation from user space into device space is done with the current Transform in the Graphics2D. The specified transformation is applied to the image before the transform attribute in the Graphics2D context is applied. The rendering attributes applied include the Clip, Transform, and Composite attributes. Note that no rendering is done if the specified transform is noninvertible.

Rendering hints set on the Graphics2D object might be used in rendering the RenderableImage. If explicit control is required over specific hints recognized by a specific RenderableImage, or if knowledge of which hints are used is required, then a RenderedImage should be obtained directly from the RenderableImage and rendered using PSGraphics2D.drawRenderedImage(RenderedImage,AffineTransform) drawRenderedImage .
Parameters:
  img - the image to be rendered
Parameters:
  xform - the transformation from image space into user space
See Also:   PSGraphics2D.transform
See Also:   PSGraphics2D.setTransform
See Also:   PSGraphics2D.setComposite
See Also:   PSGraphics2D.clip
See Also:   PSGraphics2D.setClip
See Also:   PSGraphics2D.drawRenderedImage




drawRenderedImage
public void drawRenderedImage(RenderedImage img, AffineTransform xform)(Code)
Renders a RenderedImage , applying a transform from image space into user space before drawing. The transformation from user space into device space is done with the current Transform in the Graphics2D. The specified transformation is applied to the image before the transform attribute in the Graphics2D context is applied. The rendering attributes applied include the Clip, Transform, and Composite attributes. Note that no rendering is done if the specified transform is noninvertible.
Parameters:
  img - the image to be rendered
Parameters:
  xform - the transformation from image space into user space
See Also:   PSGraphics2D.transform
See Also:   PSGraphics2D.setTransform
See Also:   PSGraphics2D.setComposite
See Also:   PSGraphics2D.clip
See Also:   PSGraphics2D.setClip



drawString
public void drawString(String s, float x, float y)(Code)
Renders the text specified by the specified String, using the current Font and Paint attributes in the Graphics2D context. The baseline of the first character is at position (xy) in the User Space. The rendering attributes applied include the Clip, Transform, Paint, Font and Composite attributes. For characters in script systems such as Hebrew and Arabic, the glyphs can be rendered from right to left, in which case the coordinate supplied is the location of the leftmost character on the baseline.
Parameters:
  s - the String to be rendered
Parameters:
  x - the x-coordinate where the Stringshould be rendered
Parameters:
  y - the y-coordinate where the Stringshould be rendered
See Also:   PSGraphics2D.setPaint
See Also:   java.awt.Graphics.setColor
See Also:   java.awt.Graphics.setFont
See Also:   PSGraphics2D.setTransform
See Also:   PSGraphics2D.setComposite
See Also:   PSGraphics2D.setClip



establishColor
public void establishColor(Color c) throws IOException(Code)
Establishes the given color in the PostScript interpreter.
Parameters:
  c - the color to set
throws:
  IOException - In case of an I/O problem



fill
public void fill(Shape s)(Code)
Fills the interior of a Shape using the settings of the Graphics2D context. The rendering attributes applied include the Clip, Transform, Paint, and Composite.
Parameters:
  s - the Shape to be filled
See Also:   PSGraphics2D.setPaint
See Also:   java.awt.Graphics.setColor
See Also:   PSGraphics2D.transform
See Also:   PSGraphics2D.setTransform
See Also:   PSGraphics2D.setComposite
See Also:   PSGraphics2D.clip
See Also:   PSGraphics2D.setClip



getCustomTextHandler
public TextHandler getCustomTextHandler()(Code)
the custom TextHandler implementation



getDeviceConfiguration
public GraphicsConfiguration getDeviceConfiguration()(Code)
Returns the device configuration associated with this Graphics2D. the device configuration



getFallbackTextHandler
public TextHandler getFallbackTextHandler()(Code)
the fallback TextHandler implementation



getFontMetrics
public java.awt.FontMetrics getFontMetrics(java.awt.Font f)(Code)
Gets the font metrics for the specified font. the font metrics for the specified font.
Parameters:
  f - the specified font
See Also:   java.awt.Graphics.getFont
See Also:   java.awt.FontMetrics
See Also:   java.awt.Graphics.getFontMetrics



getPSGenerator
public PSGenerator getPSGenerator()(Code)
the PostScript generator used by this instance.



handleIOException
public void handleIOException(IOException ioe)(Code)
Central handler for IOExceptions for this class.
Parameters:
  ioe - IOException to handle



preparePainting
public void preparePainting()(Code)
This method is used by AbstractPSDocumentGraphics2D to prepare a new page if necessary.



processPathIterator
public void processPathIterator(PathIterator iter) throws IOException(Code)
Processes a path iterator generating the nexessary painting operations.
Parameters:
  iter - PathIterator to process
throws:
  IOException - In case of an I/O problem.



setCustomTextHandler
public void setCustomTextHandler(TextHandler handler)(Code)
Sets a custom TextHandler implementation that is reponsible for painting text. The default TextHandler paints all text as shapes. A custom implementation can implement text painting using text painting operators.
Parameters:
  handler - the custom TextHandler implementation



setGraphicContext
public void setGraphicContext(GraphicContext c)(Code)
Sets the GraphicContext
Parameters:
  c - GraphicContext to use



setPSGenerator
public void setPSGenerator(PSGenerator gen)(Code)
Sets the PostScript generator
Parameters:
  gen - the PostScript generator



setXORMode
public void setXORMode(Color c1)(Code)
Sets the paint mode of this graphics context to alternate between this graphics context's current color and the new specified color. This specifies that logical pixel operations are performed in the XOR mode, which alternates pixels between the current color and a specified XOR color.

When drawing operations are performed, pixels which are the current color are changed to the specified color, and vice versa.

Pixels that are of colors other than those two colors are changed in an unpredictable but reversible manner; if the same figure is drawn twice, then all pixels are restored to their original values.
Parameters:
  c1 - the XOR alternation color




writeClip
public void writeClip(Shape s)(Code)
Establishes a clipping region
Parameters:
  s - Shape defining the clipping region



Fields inherited from org.apache.xmlgraphics.java2d.AbstractGraphics2D
protected GraphicContext gc(Code)(Java Doc)
protected boolean inPossibleRecursion(Code)(Java Doc)
protected boolean textAsShapes(Code)(Java Doc)

Methods inherited from org.apache.xmlgraphics.java2d.AbstractGraphics2D
public void addRenderingHints(Map hints)(Code)(Java Doc)
public void clearRect(int x, int y, int width, int height)(Code)(Java Doc)
public void clip(Shape s)(Code)(Java Doc)
public void clipRect(int x, int y, int width, int height)(Code)(Java Doc)
public void drawArc(int x, int y, int width, int height, int startAngle, int arcAngle)(Code)(Java Doc)
public void drawGlyphVector(GlyphVector g, float x, float y)(Code)(Java Doc)
public boolean drawImage(Image img, int x, int y, Color bgcolor, ImageObserver observer)(Code)(Java Doc)
public boolean drawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer)(Code)(Java Doc)
public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer)(Code)(Java Doc)
public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver observer)(Code)(Java Doc)
public boolean drawImage(Image img, AffineTransform xform, ImageObserver obs)(Code)(Java Doc)
public void drawImage(BufferedImage img, BufferedImageOp op, int x, int y)(Code)(Java Doc)
public void drawLine(int x1, int y1, int x2, int y2)(Code)(Java Doc)
public void drawOval(int x, int y, int width, int height)(Code)(Java Doc)
public void drawPolygon(int[] xPoints, int[] yPoints, int nPoints)(Code)(Java Doc)
public void drawPolyline(int[] xPoints, int[] yPoints, int nPoints)(Code)(Java Doc)
public void drawRect(int x, int y, int width, int height)(Code)(Java Doc)
public void drawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight)(Code)(Java Doc)
public void drawString(String str, int x, int y)(Code)(Java Doc)
public void drawString(AttributedCharacterIterator iterator, float x, float y)(Code)(Java Doc)
public void drawString(AttributedCharacterIterator iterator, int x, int y)(Code)(Java Doc)
public void fillArc(int x, int y, int width, int height, int startAngle, int arcAngle)(Code)(Java Doc)
public void fillOval(int x, int y, int width, int height)(Code)(Java Doc)
public void fillPolygon(int[] xPoints, int[] yPoints, int nPoints)(Code)(Java Doc)
public void fillRect(int x, int y, int width, int height)(Code)(Java Doc)
public void fillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight)(Code)(Java Doc)
public Color getBackground()(Code)(Java Doc)
public Shape getClip()(Code)(Java Doc)
public Rectangle getClipBounds()(Code)(Java Doc)
public Color getColor()(Code)(Java Doc)
public Composite getComposite()(Code)(Java Doc)
public Font getFont()(Code)(Java Doc)
public FontRenderContext getFontRenderContext()(Code)(Java Doc)
public GraphicContext getGraphicContext()(Code)(Java Doc)
public Paint getPaint()(Code)(Java Doc)
public Object getRenderingHint(RenderingHints.Key hintKey)(Code)(Java Doc)
public RenderingHints getRenderingHints()(Code)(Java Doc)
public Stroke getStroke()(Code)(Java Doc)
public AffineTransform getTransform()(Code)(Java Doc)
public boolean hit(Rectangle rect, Shape s, boolean onStroke)(Code)(Java Doc)
public void rotate(double theta)(Code)(Java Doc)
public void rotate(double theta, double x, double y)(Code)(Java Doc)
public void scale(double sx, double sy)(Code)(Java Doc)
public void setBackground(Color color)(Code)(Java Doc)
public void setClip(int x, int y, int width, int height)(Code)(Java Doc)
public void setClip(Shape clip)(Code)(Java Doc)
public void setColor(Color c)(Code)(Java Doc)
public void setComposite(Composite comp)(Code)(Java Doc)
public void setFont(Font font)(Code)(Java Doc)
public void setPaint(Paint paint)(Code)(Java Doc)
public void setPaintMode()(Code)(Java Doc)
public void setRenderingHint(RenderingHints.Key hintKey, Object hintValue)(Code)(Java Doc)
public void setRenderingHints(Map hints)(Code)(Java Doc)
public void setStroke(Stroke s)(Code)(Java Doc)
public void setTransform(AffineTransform Tx)(Code)(Java Doc)
public void shear(double shx, double shy)(Code)(Java Doc)
public void transform(AffineTransform Tx)(Code)(Java Doc)
public void translate(int x, int y)(Code)(Java Doc)
public void translate(double tx, double ty)(Code)(Java Doc)

Methods inherited from java.awt.Graphics2D
abstract public void addRenderingHints(Map hints)(Code)(Java Doc)
abstract public void clip(Shape s)(Code)(Java Doc)
abstract public void draw(Shape s)(Code)(Java Doc)
public void draw3DRect(int x, int y, int width, int height, boolean raised)(Code)(Java Doc)
abstract public void drawGlyphVector(GlyphVector g, float x, float y)(Code)(Java Doc)
abstract public boolean drawImage(Image img, AffineTransform xform, ImageObserver obs)(Code)(Java Doc)
abstract public void drawImage(BufferedImage img, BufferedImageOp op, int x, int y)(Code)(Java Doc)
abstract public void drawRenderableImage(RenderableImage img, AffineTransform xform)(Code)(Java Doc)
abstract public void drawRenderedImage(RenderedImage img, AffineTransform xform)(Code)(Java Doc)
abstract public void drawString(String str, int x, int y)(Code)(Java Doc)
abstract public void drawString(String str, float x, float y)(Code)(Java Doc)
abstract public void drawString(AttributedCharacterIterator iterator, int x, int y)(Code)(Java Doc)
abstract public void drawString(AttributedCharacterIterator iterator, float x, float y)(Code)(Java Doc)
abstract public void fill(Shape s)(Code)(Java Doc)
public void fill3DRect(int x, int y, int width, int height, boolean raised)(Code)(Java Doc)
abstract public Color getBackground()(Code)(Java Doc)
abstract public Composite getComposite()(Code)(Java Doc)
abstract public GraphicsConfiguration getDeviceConfiguration()(Code)(Java Doc)
abstract public FontRenderContext getFontRenderContext()(Code)(Java Doc)
abstract public Paint getPaint()(Code)(Java Doc)
abstract public Object getRenderingHint(Key hintKey)(Code)(Java Doc)
abstract public RenderingHints getRenderingHints()(Code)(Java Doc)
abstract public Stroke getStroke()(Code)(Java Doc)
abstract public AffineTransform getTransform()(Code)(Java Doc)
abstract public boolean hit(Rectangle rect, Shape s, boolean onStroke)(Code)(Java Doc)
abstract public void rotate(double theta)(Code)(Java Doc)
abstract public void rotate(double theta, double x, double y)(Code)(Java Doc)
abstract public void scale(double sx, double sy)(Code)(Java Doc)
abstract public void setBackground(Color color)(Code)(Java Doc)
abstract public void setComposite(Composite comp)(Code)(Java Doc)
abstract public void setPaint(Paint paint)(Code)(Java Doc)
abstract public void setRenderingHint(Key hintKey, Object hintValue)(Code)(Java Doc)
abstract public void setRenderingHints(Map hints)(Code)(Java Doc)
abstract public void setStroke(Stroke s)(Code)(Java Doc)
abstract public void setTransform(AffineTransform Tx)(Code)(Java Doc)
abstract public void shear(double shx, double shy)(Code)(Java Doc)
abstract public void transform(AffineTransform Tx)(Code)(Java Doc)
abstract public void translate(int x, int y)(Code)(Java Doc)
abstract public void translate(double tx, double ty)(Code)(Java Doc)

Methods inherited from java.awt.Graphics
abstract public void clearRect(int x, int y, int width, int height)(Code)(Java Doc)
abstract public void clipRect(int x, int y, int width, int height)(Code)(Java Doc)
abstract public void copyArea(int x, int y, int width, int height, int dx, int dy)(Code)(Java Doc)
abstract public Graphics create()(Code)(Java Doc)
public Graphics create(int x, int y, int width, int height)(Code)(Java Doc)
abstract public void dispose()(Code)(Java Doc)
public void draw3DRect(int x, int y, int width, int height, boolean raised)(Code)(Java Doc)
abstract public void drawArc(int x, int y, int width, int height, int startAngle, int arcAngle)(Code)(Java Doc)
public void drawBytes(byte data, int offset, int length, int x, int y)(Code)(Java Doc)
public void drawChars(char data, int offset, int length, int x, int y)(Code)(Java Doc)
abstract public boolean drawImage(Image img, int x, int y, ImageObserver observer)(Code)(Java Doc)
abstract public boolean drawImage(Image img, int x, int y, int width, int height, ImageObserver observer)(Code)(Java Doc)
abstract public boolean drawImage(Image img, int x, int y, Color bgcolor, ImageObserver observer)(Code)(Java Doc)
abstract public boolean drawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer)(Code)(Java Doc)
abstract public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer)(Code)(Java Doc)
abstract public boolean drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver observer)(Code)(Java Doc)
abstract public void drawLine(int x1, int y1, int x2, int y2)(Code)(Java Doc)
abstract public void drawOval(int x, int y, int width, int height)(Code)(Java Doc)
abstract public void drawPolygon(int xPoints, int yPoints, int nPoints)(Code)(Java Doc)
public void drawPolygon(Polygon p)(Code)(Java Doc)
abstract public void drawPolyline(int xPoints, int yPoints, int nPoints)(Code)(Java Doc)
public void drawRect(int x, int y, int width, int height)(Code)(Java Doc)
abstract public void drawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight)(Code)(Java Doc)
abstract public void drawString(String str, int x, int y)(Code)(Java Doc)
abstract public void drawString(AttributedCharacterIterator iterator, int x, int y)(Code)(Java Doc)
public void fill3DRect(int x, int y, int width, int height, boolean raised)(Code)(Java Doc)
abstract public void fillArc(int x, int y, int width, int height, int startAngle, int arcAngle)(Code)(Java Doc)
abstract public void fillOval(int x, int y, int width, int height)(Code)(Java Doc)
abstract public void fillPolygon(int xPoints, int yPoints, int nPoints)(Code)(Java Doc)
public void fillPolygon(Polygon p)(Code)(Java Doc)
abstract public void fillRect(int x, int y, int width, int height)(Code)(Java Doc)
abstract public void fillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight)(Code)(Java Doc)
public void finalize()(Code)(Java Doc)
abstract public Shape getClip()(Code)(Java Doc)
abstract public Rectangle getClipBounds()(Code)(Java Doc)
public Rectangle getClipBounds(Rectangle r)(Code)(Java Doc)
public Rectangle getClipRect()(Code)(Java Doc)
abstract public Color getColor()(Code)(Java Doc)
abstract public Font getFont()(Code)(Java Doc)
public FontMetrics getFontMetrics()(Code)(Java Doc)
abstract public FontMetrics getFontMetrics(Font f)(Code)(Java Doc)
public boolean hitClip(int x, int y, int width, int height)(Code)(Java Doc)
abstract public void setClip(int x, int y, int width, int height)(Code)(Java Doc)
abstract public void setClip(Shape clip)(Code)(Java Doc)
abstract public void setColor(Color c)(Code)(Java Doc)
abstract public void setFont(Font font)(Code)(Java Doc)
abstract public void setPaintMode()(Code)(Java Doc)
abstract public void setXORMode(Color c1)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
abstract public void translate(int x, int y)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.