Lines Matching defs:bounds
801 private void adjust(Rectangle bounds, Dimension min, int deltaX,
803 bounds.x += deltaX;
804 bounds.y += deltaY;
805 bounds.width += deltaWidth;
806 bounds.height += deltaHeight;
808 if (bounds.width < min.width) {
809 int correction = min.width - bounds.width;
811 bounds.x -= correction;
813 bounds.width = min.width;
815 if (bounds.height < min.height) {
816 int correction = min.height - bounds.height;
818 bounds.y -= correction;
820 bounds.height = min.height;