[]
Sets the bounds of the object to the specified position and size.
public override void SetBounds(int x, int y, int width, int height)
Public Overrides Sub SetBounds(x As Integer, y As Integer, width As Integer, height As Integer)
| Type | Name | Description |
|---|---|---|
| int | x | X-coordinate for bounding rectangle's top-left corner |
| int | y | Y-coordinate for bounding rectangle's top-left corner |
| int | width | Width of bounding rectangle in pixels |
| int | height | Height of bounding rectangle in pixels |