United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6793344 BasicStroke's first element dash pattern is not a dash
JDK-6793344 : BasicStroke's first element dash pattern is not a dash

Details
Type:
Bug
Submit Date:
2009-01-13
Status:
Closed
Updated Date:
2011-03-08
Project Name:
JDK
Resolved Date:
2011-03-08
Component:
client-libs
OS:
generic
Sub-Component:
2d
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
OpenJDK6
Fixed Versions:

Related Reports
Backport:

Sub Tasks

Description
Based on Java Tutorial in
http://java.sun.com/docs/books/tutorial/2d/geometry/strokeandfill.html

"The dash array defines the dash pattern. Alternating elements in the array represent the dash length and the length of the space between dashes in user coordinate units. Element 0 represents the first dash, element 1 the first space, and so on."

Actual result seems to be the other way around.

                                    

Comments
EVALUATION

Fix is initializing the renderer with dashOn=true.
                                     
2009-01-28



Hardware and Software, Engineered to Work Together