FLRect

data class FLRect

An object that defines a rectangle, mainly used to locate keys in a layout.

Summary

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.

Constructors

FLRect

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.

Properties

x

var x: Double

The x coordinate of the rectangle.

y

var y: Double

The y coordinate of the rectangle.

width

var width: Double

The rectangle’s width.

height

var height: Double

The rectangle’s height.


If something needs to be added or if you find an error in our documentation, please let us know either on our GitHub or Discord.

Last updated on July 29, 2022