Java Doc for GraphicsProperties.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) 


com.sun.perseus.j2d.GraphicsProperties

All known Subclasses:   com.sun.perseus.model.CompositeGraphicsNodeProxy,
GraphicsProperties
public interface GraphicsProperties (Code)
This interface is used to access and set computed property values for graphical characteristics such as fill or stroke color.


Field Summary
 intCAP_BUTT
     Ends unclosed subpaths and dash segments with no added decoration.
 intCAP_ROUND
     Ends unclosed subpaths and dash segments with a round decoration that has a radius equal to half of the width of the pen.
 intCAP_SQUARE
     Ends unclosed subpaths and dash segments with a square projection that extends beyond the end of the segment to a distance equal to half of the line width.
 RGBINITIAL_COLOR
    
 booleanINITIAL_DISPLAY
    
 RGBINITIAL_FILL
    
 floatINITIAL_FILL_OPACITY
    
 intINITIAL_FILL_RULE
    
 floatINITIAL_OPACITY
    
 RGBINITIAL_STROKE
    
 float[]INITIAL_STROKE_DASH_ARRAY
    
 floatINITIAL_STROKE_DASH_OFFSET
    
 intINITIAL_STROKE_LINE_CAP
    
 intINITIAL_STROKE_LINE_JOIN
    
 floatINITIAL_STROKE_MITER_LIMIT
    
 floatINITIAL_STROKE_OPACITY
    
 floatINITIAL_STROKE_WIDTH
    
 booleanINITIAL_VISIBILITY
    
 intJOIN_BEVEL
     Joins path segments by connecting the outer corners of their wide outlines with a straight segment.
 intJOIN_MITER
     Joins path segments by extending their outside edges until they meet.
 intJOIN_ROUND
     Joins path segments by rounding off the corner at a radius of half the line width.
 intWIND_EVEN_ODD
     The even-odd rule specifies that a point lies inside the path if a ray drawn in any direction from that point to infinity is crossed by path segments an odd number of times.
 intWIND_NON_ZERO
     The non-zero rule specifies that a point lies inside the path if a ray drawn in any direction from that point to infinity is crossed by path segments a different number of times in the counter-clockwise direction than the clockwise direction.


Method Summary
 RGBgetColor()
    
 booleangetDisplay()
     true if the display is on.
 PaintServergetFill()
    
 floatgetFillOpacity()
    
 intgetFillRule()
     the rule used to fill shapes.
 floatgetOpacity()
    
 PaintServergetStroke()
    
 float[]getStrokeDashArray()
    
 floatgetStrokeDashOffset()
    
 intgetStrokeLineCap()
     the style used to decorate the ends of unclosedpath segments.
 intgetStrokeLineJoin()
    
 floatgetStrokeMiterLimit()
     the limit of miter joins.
 floatgetStrokeOpacity()
    
 floatgetStrokeWidth()
     the width to use for stroking.
 booleangetVisibility()
     true if the node is visible.
 voidsetColor(RGB color)
    
 voidsetDisplay(boolean display)
    
 voidsetFill(PaintServer fill)
    
 voidsetFillOpacity(float fillOpacity)
    
 voidsetFillRule(int fillRule)
    
 voidsetOpacity(float opacity)
    
 voidsetStroke(PaintServer stroke)
    
 voidsetStrokeDashArray(float[] strokeDashArray)
    
 voidsetStrokeDashOffset(float strokeDashOffset)
    
Parameters:
  strokeDashOffset - the offset, in user space, in the stroke's dash array.
 voidsetStrokeLineCap(int strokeLineCap)
    
 voidsetStrokeLineJoin(int strokeLineJoin)
    
 voidsetStrokeMiterLimit(float strokeMiterLimit)
    
 voidsetStrokeOpacity(float strokeOpacity)
    
 voidsetStrokeWidth(float strokeWidth)
    
 voidsetVisibility(boolean visibility)
    

Field Detail
CAP_BUTT
int CAP_BUTT(Code)
Ends unclosed subpaths and dash segments with no added decoration.



CAP_ROUND
int CAP_ROUND(Code)
Ends unclosed subpaths and dash segments with a round decoration that has a radius equal to half of the width of the pen.



CAP_SQUARE
int CAP_SQUARE(Code)
Ends unclosed subpaths and dash segments with a square projection that extends beyond the end of the segment to a distance equal to half of the line width.



INITIAL_COLOR
RGB INITIAL_COLOR(Code)
Default value for the current color



INITIAL_DISPLAY
boolean INITIAL_DISPLAY(Code)
Default value for the display property



INITIAL_FILL
RGB INITIAL_FILL(Code)
Default value for the fill paint



INITIAL_FILL_OPACITY
float INITIAL_FILL_OPACITY(Code)
Default value for fill opacity



INITIAL_FILL_RULE
int INITIAL_FILL_RULE(Code)
Default stroke-width value



INITIAL_OPACITY
float INITIAL_OPACITY(Code)
Default value for opacity



INITIAL_STROKE
RGB INITIAL_STROKE(Code)
Default value for the stroke paint



INITIAL_STROKE_DASH_ARRAY
float[] INITIAL_STROKE_DASH_ARRAY(Code)
Default dash array



INITIAL_STROKE_DASH_OFFSET
float INITIAL_STROKE_DASH_OFFSET(Code)
Default dash offset



INITIAL_STROKE_LINE_CAP
int INITIAL_STROKE_LINE_CAP(Code)
Default line cap



INITIAL_STROKE_LINE_JOIN
int INITIAL_STROKE_LINE_JOIN(Code)
Default line join



INITIAL_STROKE_MITER_LIMIT
float INITIAL_STROKE_MITER_LIMIT(Code)
Default miter limit



INITIAL_STROKE_OPACITY
float INITIAL_STROKE_OPACITY(Code)
Default value for stroke opacity



INITIAL_STROKE_WIDTH
float INITIAL_STROKE_WIDTH(Code)
Default stroke width



INITIAL_VISIBILITY
boolean INITIAL_VISIBILITY(Code)
Default value for the visibility property



JOIN_BEVEL
int JOIN_BEVEL(Code)
Joins path segments by connecting the outer corners of their wide outlines with a straight segment.



JOIN_MITER
int JOIN_MITER(Code)
Joins path segments by extending their outside edges until they meet.



JOIN_ROUND
int JOIN_ROUND(Code)
Joins path segments by rounding off the corner at a radius of half the line width.



WIND_EVEN_ODD
int WIND_EVEN_ODD(Code)
The even-odd rule specifies that a point lies inside the path if a ray drawn in any direction from that point to infinity is crossed by path segments an odd number of times.



WIND_NON_ZERO
int WIND_NON_ZERO(Code)
The non-zero rule specifies that a point lies inside the path if a ray drawn in any direction from that point to infinity is crossed by path segments a different number of times in the counter-clockwise direction than the clockwise direction.





Method Detail
getColor
RGB getColor()(Code)
the current color property value.



getDisplay
boolean getDisplay()(Code)
true if the display is on. false otherwise



getFill
PaintServer getFill()(Code)
the paint used for fill operations



getFillOpacity
float getFillOpacity()(Code)
the opacity used for fill operations, in the [0, 1] range.



getFillRule
int getFillRule()(Code)
the rule used to fill shapes. One of WIND_NON_ZERO orWIND_EVEN_ODD.
See Also:   GraphicsProperties.WIND_EVEN_ODD
See Also:   GraphicsProperties.WIND_NON_ZERO



getOpacity
float getOpacity()(Code)
the opacity used for blending operations, in the [0, 1] range.



getStroke
PaintServer getStroke()(Code)
the paint used to fill the stroked path



getStrokeDashArray
float[] getStrokeDashArray()(Code)
an array of float value describing alternance of solid and transparent sections on stroked paths, startingwith dash, followed by a gap.
See Also:   GraphicsProperties.getStrokeDashOffset



getStrokeDashOffset
float getStrokeDashOffset()(Code)
the offset in the dash array.



getStrokeLineCap
int getStrokeLineCap()(Code)
the style used to decorate the ends of unclosedpath segments. One of CAP_BUTT, CAP_ROUND or CAP_SQUARE.



getStrokeLineJoin
int getStrokeLineJoin()(Code)
the style used to decorate line segment intersections.Can be one of JOIN_BEVEL, JOIN_MITER, JOIN_ROUND



getStrokeMiterLimit
float getStrokeMiterLimit()(Code)
the limit of miter joins. Line joins which exceed this value are trimmed. The miter is expressed as the ratioof the miter length (i.e, the distance between the innerand the outer elbows) to the stroke width.



getStrokeOpacity
float getStrokeOpacity()(Code)
the opacity used for stroke operations, in the [0, 1] range.



getStrokeWidth
float getStrokeWidth()(Code)
the width to use for stroking. This is expressed in user space and is the width of the line measured on a perpendicular to the stroked path.



getVisibility
boolean getVisibility()(Code)
true if the node is visible. false otherwise



setColor
void setColor(RGB color)(Code)

Parameters:
  color - the new color property value



setDisplay
void setDisplay(boolean display)(Code)

Parameters:
  display - the new display property value



setFill
void setFill(PaintServer fill)(Code)

Parameters:
  fill - the new paint to use for fill operations



setFillOpacity
void setFillOpacity(float fillOpacity)(Code)

Parameters:
  fillOpacity - the new opacity to use for fill operations.The value is clamped to the [0, 1] range.



setFillRule
void setFillRule(int fillRule)(Code)

Parameters:
  fillRule - the new rull to fill shapes
See Also:   GraphicsProperties.getFillRule



setOpacity
void setOpacity(float opacity)(Code)

Parameters:
  opacity - the new opacity to use for blending operations.The value is clamped to the [0, 1] range.



setStroke
void setStroke(PaintServer stroke)(Code)

Parameters:
  stroke - the new paint to use to fill stroked path



setStrokeDashArray
void setStrokeDashArray(float[] strokeDashArray)(Code)

Parameters:
  strokeDashArray - the new set of dashes and gaps to use for stroking operations.
See Also:   GraphicsProperties.getStrokeDashArray



setStrokeDashOffset
void setStrokeDashOffset(float strokeDashOffset)(Code)

Parameters:
  strokeDashOffset - the offset, in user space, in the stroke's dash array. This is ignored if the dash arrayis null



setStrokeLineCap
void setStrokeLineCap(int strokeLineCap)(Code)

Parameters:
  strokeLineCap - the new line cap decoration style



setStrokeLineJoin
void setStrokeLineJoin(int strokeLineJoin)(Code)

Parameters:
  strokeLineJoin - the new line join style
See Also:   GraphicsProperties.getStrokeLineJoin



setStrokeMiterLimit
void setStrokeMiterLimit(float strokeMiterLimit)(Code)

Parameters:
  strokeMiterLimit - the new value for the miter limit
See Also:   GraphicsProperties.getStrokeMiterLimit



setStrokeOpacity
void setStrokeOpacity(float strokeOpacity)(Code)

Parameters:
  strokeOpacity - the new opacity to use for stroke operations.The value is clamped to the [0, 1] range.



setStrokeWidth
void setStrokeWidth(float strokeWidth)(Code)

Parameters:
  strokeWidth - the new stroke width
See Also:   GraphicsProperties.getStrokeWidth



setVisibility
void setVisibility(boolean visibility)(Code)

Parameters:
  visibility - the new visibility property value



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