/** * Returns the shape describing the boundary of an item. The shape's * coordinates should be in absolute (item-space) coordinates. * @param item the item for which to get the Shape */ public Shape getShape(VisualItem item) { AffineTransform at = getTransform(item); Shape rawShape = getRawShape(item); return (at==null || rawShape==null ? rawShape : at.createTransformedShape(rawShape)); }