@UnstableApi
public final 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 fields

int
int
int
int

Public constructors

GlRect(int width, int height)

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

GlRect(int left, int bottom, int right, int top)

Creates an instance.

Public fields

bottom

public int bottom

left

public int left

right

public int right

top

public int top

Public constructors

GlRect

public GlRect(int width, int height)

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

GlRect

public GlRect(int left, int bottom, int right, int top)

Creates an instance.