[]
Sets the bounds of the object to the specified position and size.
protected override void SetBoundsFloat(float x, float y, float width, float height)
Protected Overrides Sub SetBoundsFloat(x As Single, y As Single, width As Single, height As Single)
Type | Name | Description |
---|---|---|
float | x | X-coordinate for bounding rectangle's top-left corner |
float | y | Y-coordinate for bounding rectangle's top-left corner |
float | width | Width of bounding rectangle in pixels |
float | height | Height of bounding rectangle in pixels |
Sets the bounds of the object to the specified position and size.
protected virtual void SetBoundsFloat(float x, float y, float width, float height, bool adjustRegion)
Protected Overridable Sub SetBoundsFloat(x As Single, y As Single, width As Single, height As Single, adjustRegion As Boolean)
Type | Name | Description |
---|---|---|
float | x | X-coordinate for bounding rectangle's top-left corner |
float | y | Y-coordinate for bounding rectangle's top-left corner |
float | width | Width of bounding rectangle in pixels |
float | height | Height of bounding rectangle in pixels |
bool | adjustRegion | Whether to adjust the region |
Sets the bounds of the object to the specified position and size.
protected virtual void SetBoundsFloat(float x, float y, float width, float height, bool adjustRegion, bool recursive)
Protected Overridable Sub SetBoundsFloat(x As Single, y As Single, width As Single, height As Single, adjustRegion As Boolean, recursive As Boolean)
Type | Name | Description |
---|---|---|
float | x | X-coordinate for bounding rectangle's top-left corner |
float | y | Y-coordinate for bounding rectangle's top-left corner |
float | width | Width of bounding rectangle in pixels |
float | height | Height of bounding rectangle in pixels |
bool | adjustRegion | Whether to adjust the region |
bool | recursive | Whether to check recursively for each element |