Bug 495290

Summary: NodeUtils#getShapeOutline(Node) should return a fat curve for curve geometries.
Product: [Tools] GEF Reporter: Matthias Wienand <matthias.wienand>
Component: GEF FXAssignee: gef-inbox <gef-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: 0.2.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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).