[]
Adjusts the location of all Element objects in the list by the specified amount.
public void Offset(int x, int y)
Type | Name | Description |
---|---|---|
int | x | Horizontal offset in pixels. |
int | y | Vertical offset in pixels. |
Adjusts the location of some Element objects in the list by the specified amount.
public void Offset(int x, int y, int first, int count)
Type | Name | Description |
---|---|---|
int | x | Horizontal offset in pixels. |
int | y | Vertical offset in pixels. |
int | first | Index of the first Element to be offset. |
int | count | Number of elements to offset. |