/** * Adds a polygon link. * * @param coordinates * the coordinates for the polygon * @param link * the link * @return This */ public ImageMap addPolygonLink(final int[] coordinates, final Link<?> link) { add(link); shapeLinks.add(new PolygonLink(coordinates, link)); return this; }
/** * Adds a polygon link. * * @param coordinates * the coordinates for the polygon * @param link * the link * @return This */ public ImageMap addPolygonLink(final int[] coordinates, final Link link) { add(link); shapeLinks.add(new PolygonLink(coordinates, link)); return this; }