@UnstableApi
class GlRect


Represents a rectangle by the coordinates of its 4 edges (left, bottom, right, top).

Note that the right and top coordinates are exclusive.

This class represents coordinates in the OpenGL coordinate convention: left <= right and bottom <= top.

Summary

Public constructors

GlRect(width: Int, height: Int)

Creates an instance from (0, 0) to the specified width and height.

GlRect(left: Int, bottom: Int, right: Int, top: Int)

Creates an instance.

Public properties

Int
Int
Int
Int

Public constructors

GlRect

GlRect(width: Int, height: Int)

Creates an instance from (0, 0) to the specified width and height.

GlRect

GlRect(left: Int, bottom: Int, right: Int, top: Int)

Creates an instance.

Public properties

bottom

val bottomInt

left

val leftInt

right

val rightInt

top

val topInt