remove deprecated method

This commit is contained in:
Hannes Janetzek 2013-12-03 20:31:17 +01:00
parent 3630155ad0
commit 50fb6c1531
2 changed files with 3 additions and 19 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright 2013
* Copyright 2013 Hannes Janetzek
*
* This program is free software: you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License as published by the Free Software
@ -53,10 +53,10 @@ class Debug {
points[1] = (l.y - height * scale);
points[2] = (l.x + width * scale);
points[3] = (l.y + height * scale);
ll.addLine(points, null, false);
ll.addLine(points, 4, false);
if (l.bbox != null && overlaps != 3) {
ll.addLine(l.bbox.corner, null, true);
ll.addLine(l.bbox.corner, 8, true);
}
}

View File

@ -64,22 +64,6 @@ public final class LineLayer extends RenderElement {
outlines = link;
}
/**
* @deprecated
* @param points
* array of points as x,y pairs.
* @param index
* array of indices holding the length of the individual
* line coordinates (i.e. points * 2).
* when index is null one a line with points.length
* is assumed.
* @param closed
* whether to connect start- and end-point.
*/
public void addLine(float[] points, short[] index, boolean closed) {
addLine(points, index, -1, closed);
}
public void addLine(GeometryBuffer geom) {
if (geom.isPoly())
addLine(geom.points, geom.index, -1, true);