data class FLRect
An object that defines a rectangle, mainly used to locate keys in a layout.
| Constructors | |
|---|---|
| FLRect(x: Double, y: Double, width: Double, height: Double) |
| Properties | |
|---|---|
Double |
x The x coordinate of the rectangle. |
Double |
y The y coordinate of the rectangle. |
Double |
width The rectangle’s width. |
Double |
height The rectangle’s height. |
FLRect(x: Double, y: Double, width: Double, height: Double)
| Parameters | |
|---|---|
| x: Double | The x coordinate of the rectangle. |
| y: Double | The y coordinate of the rectangle. |
| width: Double | The rectangle’s width. |
| height: Double | The rectangle’s height. |
var x: Double
The x coordinate of the rectangle.
var y: Double
The y coordinate of the rectangle.
var width: Double
The rectangle’s width.
var height: Double
The rectangle’s height.