Bug 495290 - NodeUtils#getShapeOutline(Node) should return a fat curve for curve geometries.
Summary: NodeUtils#getShapeOutline(Node) should return a fat curve for curve geometries.
Status: NEW
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: ---   Edit
Assignee: gef-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-02 09:26 EDT by Matthias Wienand CLA
Modified: 2016-06-02 09:26 EDT (History)
0 users

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 09:26:26 EDT
The NodeUtils#getShapeOutline(Node) method should return a geometry that tightly encloses the visualization given by the passed-in JavaFX Node.

For nodes with shape geometries, the shape outline can be correctly determined by extending the geometry to include the node's stroke. However, for nodes with curve geometries, a fat curve should be determined that is a shape resulting from offsetting the original curve geometry by its stroke. This is currently not provided by GEF4 Geometry, therefore, the curve geometry is currently returned as is (see bug #495282).