Changeset 11525 in josm for trunk/src/com/kitfox/svg/ShapeElement.java
- Timestamp:
- 2017-02-02T00:08:08+01:00 (9 years ago)
- File:
-
- 1 edited
-
trunk/src/com/kitfox/svg/ShapeElement.java (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/com/kitfox/svg/ShapeElement.java
r10787 r11525 87 87 88 88 @Override 89 void pick(Point2D point, boolean boundingBox, List retVec) throws SVGException 89 void pick(Point2D point, boolean boundingBox, List<List<SVGElement>> retVec) throws SVGException 90 90 { 91 91 // StyleAttribute styleAttrib = new StyleAttribute(); … … 98 98 99 99 @Override 100 void pick(Rectangle2D pickArea, AffineTransform ltw, boolean boundingBox, List retVec) throws SVGException 101 { 102 StyleAttribute styleAttrib = new StyleAttribute(); 100 void pick(Rectangle2D pickArea, AffineTransform ltw, boolean boundingBox, List<List<SVGElement>> retVec) throws SVGException 101 { 102 // StyleAttribute styleAttrib = new StyleAttribute(); 103 103 // if (getStyle(styleAttrib.setName("fill")) && getShape().contains(point)) 104 104 if (ltw.createTransformedShape((boundingBox ? getBoundingBox() : getShape())).intersects(pickArea)) … … 397 397 layout.layout(shape); 398 398 399 ArrayList list = layout.getMarkerList(); 399 ArrayList<MarkerPos> list = layout.getMarkerList(); 400 400 for (int i = 0; i < list.size(); ++i) 401 401 { 402 MarkerPos pos = (MarkerPos)list.get(i);402 MarkerPos pos = list.get(i); 403 403 404 404 switch (pos.type)
Note:
See TracChangeset
for help on using the changeset viewer.
