GlRect
Artifact: androidx.media3:media3-common
@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 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
Public constructors
GlRect
public GlRect(int width, int height)
Creates an instance from (0, 0) to the specified width and height.