JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.math.Recti Class Reference

Rectangle with x, y, width and height integer components. More...

Collaboration diagram for com.jogamp.math.Recti:

Public Member Functions

 Recti ()
 
 Recti (final Recti o)
 
Recti copy ()
 
 Recti (final int[] xywh)
 
 Recti (final int x, final int y, final int width, final int height)
 
void set (final Recti o)
 this = o, returns this. More...
 
void set (final int x, final int y, final int width, final int height)
 this = { x, y, width, height }, returns this. More...
 
Recti set (final int[] xywh)
 this = xywh, returns this. More...
 
int[] get (final int[] xywh)
 xywh = this, returns xy. More...
 
int x ()
 
int y ()
 
int width ()
 
int height ()
 
void setX (final int x)
 
void setY (final int y)
 
void setWidth (final int width)
 
void setHeight (final int height)
 
boolean isZero ()
 Return true if area is zero. More...
 
boolean isEqual (final Recti o)
 Equals check. More...
 
boolean equals (final Object o)
 
String toString ()
 

Detailed Description

Rectangle with x, y, width and height integer components.

Definition at line 34 of file Recti.java.

Constructor & Destructor Documentation

◆ Recti() [1/4]

com.jogamp.math.Recti.Recti ( )

Definition at line 40 of file Recti.java.

Here is the caller graph for this function:

◆ Recti() [2/4]

com.jogamp.math.Recti.Recti ( final Recti  o)

Definition at line 42 of file Recti.java.

◆ Recti() [3/4]

com.jogamp.math.Recti.Recti ( final int[]  xywh)

Definition at line 50 of file Recti.java.

◆ Recti() [4/4]

com.jogamp.math.Recti.Recti ( final int  x,
final int  y,
final int  width,
final int  height 
)

Definition at line 54 of file Recti.java.

Member Function Documentation

◆ copy()

Recti com.jogamp.math.Recti.copy ( )

Definition at line 46 of file Recti.java.

Here is the call graph for this function:

◆ equals()

boolean com.jogamp.math.Recti.equals ( final Object  o)

Definition at line 122 of file Recti.java.

Here is the call graph for this function:

◆ get()

int[] com.jogamp.math.Recti.get ( final int[]  xywh)

xywh = this, returns xy.

Definition at line 84 of file Recti.java.

◆ height()

int com.jogamp.math.Recti.height ( )

Definition at line 95 of file Recti.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isEqual()

boolean com.jogamp.math.Recti.isEqual ( final Recti  o)

Equals check.

Parameters
ocomparison value
Returns
true if all components are equal

Definition at line 112 of file Recti.java.

Here is the caller graph for this function:

◆ isZero()

boolean com.jogamp.math.Recti.isZero ( )

Return true if area is zero.

Definition at line 103 of file Recti.java.

◆ set() [1/3]

void com.jogamp.math.Recti.set ( final int  x,
final int  y,
final int  width,
final int  height 
)

this = { x, y, width, height }, returns this.

Definition at line 67 of file Recti.java.

◆ set() [2/3]

Recti com.jogamp.math.Recti.set ( final int[]  xywh)

this = xywh, returns this.

Definition at line 75 of file Recti.java.

◆ set() [3/3]

void com.jogamp.math.Recti.set ( final Recti  o)

this = o, returns this.

Definition at line 59 of file Recti.java.

Here is the caller graph for this function:

◆ setHeight()

void com.jogamp.math.Recti.setHeight ( final int  height)

Definition at line 100 of file Recti.java.

Here is the caller graph for this function:

◆ setWidth()

void com.jogamp.math.Recti.setWidth ( final int  width)

Definition at line 99 of file Recti.java.

Here is the caller graph for this function:

◆ setX()

void com.jogamp.math.Recti.setX ( final int  x)

Definition at line 97 of file Recti.java.

Here is the caller graph for this function:

◆ setY()

void com.jogamp.math.Recti.setY ( final int  y)

Definition at line 98 of file Recti.java.

Here is the caller graph for this function:

◆ toString()

String com.jogamp.math.Recti.toString ( )

Definition at line 131 of file Recti.java.

◆ width()

int com.jogamp.math.Recti.width ( )

Definition at line 94 of file Recti.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ x()

int com.jogamp.math.Recti.x ( )

Definition at line 92 of file Recti.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ y()

int com.jogamp.math.Recti.y ( )

Definition at line 93 of file Recti.java.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: