Bug 495282 - NodeUtils#getShapeOutline(Node) should not consider the stroke for ICurve geometries.
Summary: NodeUtils#getShapeOutline(Node) should not consider the stroke for ICurve geo...
Status: RESOLVED FIXED
Alias: None
Product: GEF
Classification: Tools
Component: GEF FX (show other bugs)
Version: 0.2.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 4.0.0 (Neon) RC4   Edit
Assignee: Matthias Wienand CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-02 08:28 EDT by Matthias Wienand CLA
Modified: 2016-06-04 12:11 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Wienand CLA 2016-06-02 08:28:55 EDT
When determining the shape outline of a Node for which the geometric outline is an ICurve, the stroke should not be considered.

The shape outline is a geometry that represents the visual outline of a JavaFX Node. For closed shapes, this outline can be computed by extending the geometry by the stroke width. However, a curve geometry cannot be extended by the stroke width, because a curve geometry does not exhibit a width or an area.
Comment 1 Matthias Wienand CLA 2016-06-02 09:25:44 EDT
I ensured that ICurve geometries are returned as is. The code is published on the master branch, therefore, I resolve this ticket as fixed for 4.0.0 RC4.