Lines Matching refs:bounds
210 Rectangle bounds = a.getBounds();
213 if (bounds.height != vspan) {
214 int slop = bounds.height - vspan;
215 bounds.y += slop / 2;
216 bounds.height -= slop;
224 int max = Math.max(hspan, bounds.width);
226 int extent = Math.min(max, bounds.width - 1);
232 if (hspan < bounds.width) {
234 int slop = bounds.width - 1 - hspan;
256 bounds.x += slop / 2;
257 bounds.width -= slop;
260 bounds.x += slop;
261 bounds.width -= slop;
266 bounds.width = hspan;
267 bounds.x -= vis.getValue();
270 return bounds;