FormXRectF

data class FormXRectF(val x: Float = 0.0f, val y: Float = 0.0f, val width: Float = 0.0f, val height: Float = 0.0f)

FormXRectF is a rectangle class with x, y, width, height

Constructors

Link copied to clipboard
fun FormXRectF(x: Float = 0.0f, y: Float = 0.0f, width: Float = 0.0f, height: Float = 0.0f)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun scale(scaleX: Float, scaleY: Float): FormXRectF

Scale the rectangle by the given scale factors.

Properties

Link copied to clipboard
val height: Float = 0.0f
Link copied to clipboard
val width: Float = 0.0f
Link copied to clipboard
val x: Float = 0.0f
Link copied to clipboard
val y: Float = 0.0f