Package com.jogamp.nativewindow.util
Interface InsetsImmutable
- All Superinterfaces:
com.jogamp.common.type.WriteCloneable
- All Known Implementing Classes:
Insets
public interface InsetsImmutable
extends com.jogamp.common.type.WriteCloneable
Immutable insets representing rectangular window decoration insets on all four edges
in window units.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks whether two rect objects are equal.int
int
int
int
int
int
int
hashCode()
Methods inherited from interface com.jogamp.common.type.WriteCloneable
cloneMutable
-
Method Details
-
getLeftWidth
int getLeftWidth()- Returns:
- left inset width in window units.
-
getRightWidth
int getRightWidth()- Returns:
- right inset width in window units.
-
getTotalWidth
int getTotalWidth()- Returns:
- total width in window units, ie.
left_width + right_width
-
getTopHeight
int getTopHeight()- Returns:
- top inset height in window units.
-
getBottomHeight
int getBottomHeight()- Returns:
- bottom inset height in window units.
-
getTotalHeight
int getTotalHeight()- Returns:
- total height in window units, ie.
top_height + bottom_height
-
equals
Checks whether two rect objects are equal. Two instances ofInsets
are equal if the four integer values of the fieldsleft
,right
,top
, andbottom
are all equal. -
hashCode
int hashCode()
-