public class Rect extends Object
| Constructor and Description |
|---|
Rect() |
| Modifier and Type | Method and Description |
|---|---|
void |
setBounds(int x,
int y,
int width,
int height) |
void |
setBounds(Rect rect) |
public void setBounds(Rect rect)
rect - a rect anglepublic void setBounds(int x,
int y,
int width,
int height)
x - the new X coordinate for the upper-left corner of this rectangley - the new Y coordinate for the upper-left corner of this rectanglewidth - the new width for this rectangleheight - the new height for this rectangleCopyright © 2018. All rights reserved.