|
JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java (public API).
|
Immutable SurfaceSize Class, consisting of it's read only components:
More...
Public Member Functions | |
| SurfaceSize (final DimensionImmutable resolution, final int bitsPerPixel) | |
| final DimensionImmutable | getResolution () |
| Returns the resolution in pixel units. More... | |
| final int | getBitsPerPixel () |
| final String | toString () |
| int | compareTo (final SurfaceSize ssz) |
| final boolean | equals (final Object obj) |
| Checks whether two size objects are equal. More... | |
| final int | hashCode () |
Immutable SurfaceSize Class, consisting of it's read only components:
size in pixels bits per pixel Definition at line 39 of file SurfaceSize.java.
| com.jogamp.nativewindow.util.SurfaceSize.SurfaceSize | ( | final DimensionImmutable | resolution, |
| final int | bitsPerPixel | ||
| ) |
| int com.jogamp.nativewindow.util.SurfaceSize.compareTo | ( | final SurfaceSize | ssz | ) |
Compares resolution 1st, if equal the bitsPerPixel.
Definition at line 72 of file SurfaceSize.java.
| final boolean com.jogamp.nativewindow.util.SurfaceSize.equals | ( | final Object | obj | ) |
Checks whether two size objects are equal.
Two instances of SurfaceSize are equal if the two components resolution and bitsPerPixel are equal.
true if the two dimensions are equal; otherwise false. Definition at line 95 of file SurfaceSize.java.
| final int com.jogamp.nativewindow.util.SurfaceSize.getBitsPerPixel | ( | ) |
| final DimensionImmutable com.jogamp.nativewindow.util.SurfaceSize.getResolution | ( | ) |
Returns the resolution in pixel units.
Definition at line 52 of file SurfaceSize.java.
| final int com.jogamp.nativewindow.util.SurfaceSize.hashCode | ( | ) |
| final String com.jogamp.nativewindow.util.SurfaceSize.toString | ( | ) |
Definition at line 61 of file SurfaceSize.java.