GlokRect

data class GlokRect(val left: Float, val top: Float, val right: Float, val bottom: Float)

A rectangle using Floats. Used to pass rectangles from Glok's core to the Backend.

Constructors

Link copied to clipboard
constructor()
constructor(left: Float, top: Float, right: Float, bottom: Float)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val left: Float
Link copied to clipboard
Link copied to clipboard
val top: Float
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
Link copied to clipboard
fun plus(dx: Float, dy: Float): GlokRect
Link copied to clipboard
open override fun toString(): String