Franca b03 promotion API contains next description of Shape's strokeDashArray attribute:
Defines the array representing the lengths of the dash segments. Alternate entries in the array represent the user space lengths of the opaque and transparent segments of the dashes. As the pen moves along the outline of the Shape to be stroked, the user space distance that the pen travels is accumulated. The distance value is used to index into the dash array. The pen is opaque when its current cumulative distance maps to an even element of the dash array and transparent otherwise.
[1.0]
Profile: common
It is unclear what will happen if number of dash elements is odd. For example in SVG it behaves like the dash array is "doubled" so it's length becomes even.
Defines the array representing the lengths of the dash segments. Alternate entries in the array represent the user space lengths of the opaque and transparent segments of the dashes. As the pen moves along the outline of the Shape to be stroked, the user space distance that the pen travels is accumulated. The distance value is used to index into the dash array. The pen is opaque when its current cumulative distance maps to an even element of the dash array and transparent otherwise.
[1.0]
Profile: common
It is unclear what will happen if number of dash elements is odd. For example in SVG it behaves like the dash array is "doubled" so it's length becomes even.
- relates to
-
JDK-8097253 StrokeDashArray length affected by LineCapProperty
- Closed