Java Doc for RenderGraphics.java in  » 6.0-JDK-Modules » j2me » com » sun » perseus » j2d » 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 » 6.0 JDK Modules » j2me » com.sun.perseus.j2d 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.perseus.j2d.RenderContext
      com.sun.perseus.j2d.PiscesRenderGraphics
         com.sun.perseus.j2d.RenderGraphics

RenderGraphics
public class RenderGraphics extends PiscesRenderGraphics (Code)
All rendering in Perseus is done through the RenderGraphics class.
RenderGraphics is the combination of the traditional Graphics2D API to the rendering engine and the notion of graphical context found in SVG.

A RenderGraphics object proxies invocation to a Graphics2D instance through its draw or fill method while capturing the current rendering context state by implementing the RenderContext interface.
Note A: the Java 2D graphic context values passed by the RenderGraphics to the proxied Graphics2D correspond to the CSS 2 actual values.
Note B: the initial values for the context properties (such as color or fill) correspond to the CSS 2 initial values for these properties.
See Also:   RenderContext
See Also:   java.awt.Graphics2D
version:
   $Id: RenderGraphics.java,v 1.5 2006/04/21 06:35:43 st125089 Exp $



Constructor Summary
public  RenderGraphics(PiscesRenderer pr, int width, int height)
     Constructs a new RenderGraphics which will delegate painting operations to a Graphics2D built for the input BufferedImage.

Method Summary
public  voidclearRect(int x, int y, int width, int height, RGB clearColor)
     Clears the specified rectangle.


Constructor Detail
RenderGraphics
public RenderGraphics(PiscesRenderer pr, int width, int height)(Code)
Constructs a new RenderGraphics which will delegate painting operations to a Graphics2D built for the input BufferedImage.
Parameters:
  pr - the PiscesRenderer to render to.
Parameters:
  width - the rendering surface width. Should be greater than zero.
Parameters:
  height - the rendering surface height. Should be greater than zero.
throws:
  NullPointerException - if bi is null
throws:
  NullPointerException - if bi is null




Method Detail
clearRect
public void clearRect(int x, int y, int width, int height, RGB clearColor)(Code)
Clears the specified rectangle. IMPORTANT NOTE: the coordinates are in device space. This method does not account for the current transformation set on the RenderGraphics. It operates on the target pixels.
Parameters:
  x - - the x coordinate of the rectangle to clear.
Parameters:
  y - - the y coordinate of the rectangle to clear.
Parameters:
  width - - the width of the rectangle to clear.
Parameters:
  height - - the height of the rectangle to clear.
Parameters:
  clearColor - - the color to use to clear the rectangle.



Fields inherited from com.sun.perseus.j2d.PiscesRenderGraphics
final protected static Transform IDENTITY(Code)(Java Doc)
protected int height(Code)(Java Doc)
protected Transform6 imageTransform(Code)(Java Doc)
protected boolean needSetTransform(Code)(Java Doc)
protected PaintTarget paintTarget(Code)(Java Doc)
protected Transform paintTransform(Code)(Java Doc)
protected PiscesRenderer pr(Code)(Java Doc)
protected Tile primitiveTile(Code)(Java Doc)
protected Tile renderingTile(Code)(Java Doc)
protected Transform6 transform(Code)(Java Doc)
protected int width(Code)(Java Doc)

Methods inherited from com.sun.perseus.j2d.PiscesRenderGraphics
void applyClip()(Code)(Java Doc)
abstract public void clearRect(int x, int y, int width, int height, RGB clearColor)(Code)(Java Doc)
public void draw(Path path)(Code)(Java Doc)
public void drawImage(RasterImage image, float dx, float dy, float dw, float dh)(Code)(Java Doc)
public void drawLine(float x1, float y1, float x2, float y2)(Code)(Java Doc)
public void drawOval(float x, float y, float w, float h)(Code)(Java Doc)
public void drawRect(float x, float y, float w, float h, float aw, float ah)(Code)(Java Doc)
public void fill(Path path)(Code)(Java Doc)
void fillOrDraw(Path path, PaintServer paint, int opOpacity, boolean isFill)(Code)(Java Doc)
public void fillOval(float x, float y, float w, float h)(Code)(Java Doc)
public void fillRect(float x, float y, float w, float h, float aw, float ah)(Code)(Java Doc)
public Tile getPrimitiveTile()(Code)(Java Doc)
public Tile getRenderingTile()(Code)(Java Doc)
public void setPaintTarget(PaintTarget paintTarget)(Code)(Java Doc)
public void setPaintTransform(Transform paintTransform)(Code)(Java Doc)
public void setPrimitiveTile(Tile primitiveTile)(Code)(Java Doc)
public void setRenderingQuality(boolean isHigh)(Code)(Java Doc)
public void setRenderingTile(Tile renderingTile)(Code)(Java Doc)
public void setTransform(Transform newTransform)(Code)(Java Doc)
static boolean setTransform(Transform newTransform, Transform6 transform)(Code)(Java Doc)

Fields inherited from com.sun.perseus.j2d.RenderContext
final protected static int CAP_BUTT_IMPL(Code)(Java Doc)
final protected static int CAP_ROUND_IMPL(Code)(Java Doc)
final protected static int CAP_SQUARE_IMPL(Code)(Java Doc)
final protected static int DISPLAY_MASK(Code)(Java Doc)
final protected static int FILL_OPACITY_MASK(Code)(Java Doc)
final protected static int FILL_RULE_MASK(Code)(Java Doc)
final protected static int FONT_STYLE_ITALIC_IMPL(Code)(Java Doc)
final protected static int FONT_STYLE_MASK(Code)(Java Doc)
final protected static int FONT_STYLE_NORMAL_IMPL(Code)(Java Doc)
final protected static int FONT_STYLE_OBLIQUE_IMPL(Code)(Java Doc)
final protected static int FONT_WEIGHT_100_IMPL(Code)(Java Doc)
final protected static int FONT_WEIGHT_200_IMPL(Code)(Java Doc)
final protected static int FONT_WEIGHT_300_IMPL(Code)(Java Doc)
final protected static int FONT_WEIGHT_400_IMPL(Code)(Java Doc)
final protected static int FONT_WEIGHT_500_IMPL(Code)(Java Doc)
final protected static int FONT_WEIGHT_600_IMPL(Code)(Java Doc)
final protected static int FONT_WEIGHT_700_IMPL(Code)(Java Doc)
final protected static int FONT_WEIGHT_800_IMPL(Code)(Java Doc)
final protected static int FONT_WEIGHT_900_IMPL(Code)(Java Doc)
final protected static int FONT_WEIGHT_MASK(Code)(Java Doc)
final protected static int INITIAL_DISPLAY_IMPL(Code)(Java Doc)
final protected static int INITIAL_FILL_OPACITY_IMPL(Code)(Java Doc)
final protected static int INITIAL_FILL_RULE_IMPL(Code)(Java Doc)
final protected static int INITIAL_FONT_STYLE_IMPL(Code)(Java Doc)
final protected static int INITIAL_FONT_WEIGHT_IMPL(Code)(Java Doc)
final protected static int INITIAL_OPACITY_IMPL(Code)(Java Doc)
final protected static int INITIAL_PACK(Code)(Java Doc)
final protected static int INITIAL_PACK2(Code)(Java Doc)
protected static int[] INITIAL_STROKE_DASH_ARRAY_IMPL(Code)(Java Doc)
protected static int INITIAL_STROKE_DASH_OFFSET_IMPL(Code)(Java Doc)
final protected static int INITIAL_STROKE_LINE_CAP_IMPL(Code)(Java Doc)
final protected static int INITIAL_STROKE_LINE_JOIN_IMPL(Code)(Java Doc)
protected static int INITIAL_STROKE_MITER_LIMIT_IMPL(Code)(Java Doc)
final protected static int INITIAL_STROKE_OPACITY_IMPL(Code)(Java Doc)
protected static int INITIAL_STROKE_WIDTH_IMPL(Code)(Java Doc)
final protected static int INITIAL_TEXT_ANCHOR_IMPL(Code)(Java Doc)
final protected static int INITIAL_VISIBILITY_IMPL(Code)(Java Doc)
final protected static int JOIN_BEVEL_IMPL(Code)(Java Doc)
final protected static int JOIN_MITER_IMPL(Code)(Java Doc)
final protected static int JOIN_ROUND_IMPL(Code)(Java Doc)
final protected static int OPACITY_MASK(Code)(Java Doc)
final protected static int STROKE_LINE_CAP_MASK(Code)(Java Doc)
final protected static int STROKE_LINE_JOIN_MASK(Code)(Java Doc)
final protected static int STROKE_OPACITY_MASK(Code)(Java Doc)
final protected static int TEXT_ANCHOR_END_IMPL(Code)(Java Doc)
final protected static int TEXT_ANCHOR_MASK(Code)(Java Doc)
final protected static int TEXT_ANCHOR_MIDDLE_IMPL(Code)(Java Doc)
final protected static int TEXT_ANCHOR_START_IMPL(Code)(Java Doc)
final protected static int VISIBILITY_MASK(Code)(Java Doc)
protected RGB color(Code)(Java Doc)
protected PaintServer fill(Code)(Java Doc)
protected String[] fontFamily(Code)(Java Doc)
protected float fontSize(Code)(Java Doc)
protected int pack(Code)(Java Doc)
protected int pack2(Code)(Java Doc)
protected PaintServer stroke(Code)(Java Doc)
protected int[] strokeDashArray(Code)(Java Doc)
protected int strokeDashOffset(Code)(Java Doc)
protected int strokeMiterLimit(Code)(Java Doc)
protected int strokeWidth(Code)(Java Doc)

Methods inherited from com.sun.perseus.j2d.RenderContext
int computeStrokeDashOffset()(Code)(Java Doc)
public RGB getColor()(Code)(Java Doc)
public boolean getDisplay()(Code)(Java Doc)
public PaintServer getFill()(Code)(Java Doc)
public float getFillOpacity()(Code)(Java Doc)
int getFillOpacityImpl()(Code)(Java Doc)
public int getFillRule()(Code)(Java Doc)
public String[] getFontFamily()(Code)(Java Doc)
public float getFontSize()(Code)(Java Doc)
public int getFontStyle()(Code)(Java Doc)
public int getFontWeight()(Code)(Java Doc)
public float getOpacity()(Code)(Java Doc)
int getOpacityImpl()(Code)(Java Doc)
public PaintServer getStroke()(Code)(Java Doc)
public float[] getStrokeDashArray()(Code)(Java Doc)
public float getStrokeDashOffset()(Code)(Java Doc)
public int getStrokeLineCap()(Code)(Java Doc)
public int getStrokeLineJoin()(Code)(Java Doc)
public float getStrokeMiterLimit()(Code)(Java Doc)
public float getStrokeOpacity()(Code)(Java Doc)
public int getStrokeOpacityImpl()(Code)(Java Doc)
public float getStrokeWidth()(Code)(Java Doc)
public int getTextAnchor()(Code)(Java Doc)
public boolean getVisibility()(Code)(Java Doc)
public void reset()(Code)(Java Doc)
public void restore(RenderContext rcs)(Code)(Java Doc)
public RenderContext save()(Code)(Java Doc)
public void setColor(RGB newColor)(Code)(Java Doc)
public void setDisplay(boolean newDisplay)(Code)(Java Doc)
public void setFill(PaintServer newFill)(Code)(Java Doc)
public void setFillOpacity(float newFillOpacity)(Code)(Java Doc)
public void setFillRule(int newFillRule)(Code)(Java Doc)
public void setFontFamily(String[] newFontFamily)(Code)(Java Doc)
public void setFontSize(float newFontSize)(Code)(Java Doc)
public void setFontStyle(int newFontStyle)(Code)(Java Doc)
public void setFontWeight(int newFontWeight)(Code)(Java Doc)
public void setOpacity(float newOpacity)(Code)(Java Doc)
public void setStroke(PaintServer newStroke)(Code)(Java Doc)
public void setStrokeDashArray(float[] newStrokeDashArray)(Code)(Java Doc)
public void setStrokeDashOffset(float newStrokeDashOffset)(Code)(Java Doc)
public void setStrokeLineCap(int newStrokeLineCap)(Code)(Java Doc)
public void setStrokeLineJoin(int newStrokeLineJoin)(Code)(Java Doc)
public void setStrokeMiterLimit(float newStrokeMiterLimit)(Code)(Java Doc)
public void setStrokeOpacity(float newStrokeOpacity)(Code)(Java Doc)
public void setStrokeWidth(float newStrokeWidth)(Code)(Java Doc)
public void setTextAnchor(int newTextAnchor)(Code)(Java Doc)
public void setVisibility(boolean newVisibility)(Code)(Java Doc)

Methods inherited from java.lang.Object
public boolean equals(Object obj)(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.