Class RectUtil
Defines a helper class for work with Rect class
Inherited Members
Namespace:
Assembly: .dll
Syntax
public class RectUtil
Constructors
RectUtil()
Declaration
public RectUtil()
Methods
updateRect(Rect rect, float x1, float y1, float x2, float y2)
Updates Rect with specified X, Y coordinates
Declaration
public static void updateRect(Rect rect, float x1, float y1, float x2, float y2)
Parameters
| Type | Name | Description |
|---|---|---|
| android.graphics.Rect | rect | The rect to update |
| float | x1 | The x1 coordinate |
| float | y1 | The y1 coordinate |
| float | x2 | The x2 coordinate |
| float | y2 | The y2 coordinate |