-
Enhancement
-
Resolution: Duplicate
-
P3
-
None
-
None
This feature request might be similar to RT-3155, although the latter is a bit cryptic, as I don't have access to referenced RT-2694, so to its test case.
It mentions "prior versions of JavaFX" although I don't know these are pre-1.0 release or what.
So let me re-phrase it here, or change the request.
In the javafx.scene.shape package, we have two composition operations: ShapeIntersect and ShapeSubstract.
I miss a ShapeAdd, or ShapeMerge, or ShapeFuse, whatever you call it, that would take two Shape, be it a complex Path or a simpler Circle or Rectangle, Polygon or similar, and make a unique shape with a common fill/stroke/strokeWidth, etc. set of properties.
An example of use case is in the thread: Is there a way to simply draw combined shapes ? <http://forums.sun.com/thread.jspa?threadID=5383586>
Instead of taking a base shape (rounded rectangle) and combining it with a stem shape, I had to re-create the rounded rectangle and cut it at the right places to insert the stem.
Granted I could have done it with some tool (Inkscape?) but for simple shape (eg. two circles and a slim rectangle joining them), it is overkill.
It mentions "prior versions of JavaFX" although I don't know these are pre-1.0 release or what.
So let me re-phrase it here, or change the request.
In the javafx.scene.shape package, we have two composition operations: ShapeIntersect and ShapeSubstract.
I miss a ShapeAdd, or ShapeMerge, or ShapeFuse, whatever you call it, that would take two Shape, be it a complex Path or a simpler Circle or Rectangle, Polygon or similar, and make a unique shape with a common fill/stroke/strokeWidth, etc. set of properties.
An example of use case is in the thread: Is there a way to simply draw combined shapes ? <http://forums.sun.com/thread.jspa?threadID=5383586>
Instead of taking a base shape (rounded rectangle) and combining it with a stem shape, I had to re-create the rounded rectangle and cut it at the right places to insert the stem.
Granted I could have done it with some tool (Inkscape?) but for simple shape (eg. two circles and a slim rectangle joining them), it is overkill.
- duplicates
-
JDK-8106356 ShapeSubtract is poorly named and its fields obscure
- Resolved
- relates to
-
JDK-8106356 ShapeSubtract is poorly named and its fields obscure
- Resolved