Lines Matching refs:bounds
81 Rectangle bounds = a.getBounds();
84 if (bounds.height != vspan) {
85 int slop = bounds.height - vspan;
86 bounds.y += slop / 2;
87 bounds.height -= slop;
95 int max = Math.max(hspan, bounds.width);
97 int extent = Math.min(max, bounds.width - 1);
103 if (hspan < bounds.width) {
105 int slop = bounds.width - 1 - hspan;
127 bounds.x += slop / 2;
128 bounds.width -= slop;
131 bounds.x += slop;
132 bounds.width -= slop;
137 bounds.width = hspan;
138 bounds.x -= vis.getValue();
141 return bounds;