|
JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java (public API).
|
GraphUI CSS property Padding, unscaled space belonging to the element and included in the element's size. More...
Public Member Functions | |
| Padding (final float top, final float right, final float bottom, final float left) | |
| Ctor. More... | |
| Padding (final float top, final float rl, final float bottom) | |
| Ctor. More... | |
| Padding (final float tb, final float rl) | |
| Ctor. More... | |
| Padding (final float trbl) | |
| Ctor. More... | |
| float | width () |
| Return unscaled width of horizontal values top + right. More... | |
| float | height () |
| Return unscaled height of vertical values bottom + top. More... | |
| boolean | zeroWidth () |
| boolean | zeroHeight () |
| boolean | zeroSize () |
| String | toString () |
Public Attributes | |
| final float | top |
| Top value (unscaled) More... | |
| final float | right |
| Right value (unscaled) More... | |
| final float | bottom |
| Bottom value (unscaled) More... | |
| final float | left |
| Left value (unscaled) More... | |
Static Public Attributes | |
| static final Padding | None = new Padding() |
| Zero padding constant. More... | |
GraphUI CSS property Padding, unscaled space belonging to the element and included in the element's size.
The CSS padding properties are used to generate space around an element's content, inside of any defined borders.
Definition at line 38 of file Padding.java.
| com.jogamp.graph.ui.layout.Padding.Padding | ( | final float | top, |
| final float | right, | ||
| final float | bottom, | ||
| final float | left | ||
| ) |
Ctor.
| top | unscaled top value |
| right | unscaled right value |
| bottom | unscaled bottom value |
| left | unscaled left value |
Definition at line 62 of file Padding.java.
| com.jogamp.graph.ui.layout.Padding.Padding | ( | final float | top, |
| final float | rl, | ||
| final float | bottom | ||
| ) |
Ctor.
| top | unscaled top value |
| rl | unscaled right and left value |
| bottom | unscaled bottom value |
Definition at line 72 of file Padding.java.
| com.jogamp.graph.ui.layout.Padding.Padding | ( | final float | tb, |
| final float | rl | ||
| ) |
Ctor.
| tb | unscaled top and bottom value |
| rl | unscaled right and left value |
Definition at line 81 of file Padding.java.
| com.jogamp.graph.ui.layout.Padding.Padding | ( | final float | trbl | ) |
Ctor.
| trbl | unscaled top, right, bottom and left value |
Definition at line 89 of file Padding.java.
| float com.jogamp.graph.ui.layout.Padding.height | ( | ) |
Return unscaled height of vertical values bottom + top.
Definition at line 97 of file Padding.java.
| String com.jogamp.graph.ui.layout.Padding.toString | ( | ) |
| float com.jogamp.graph.ui.layout.Padding.width | ( | ) |
Return unscaled width of horizontal values top + right.
Definition at line 94 of file Padding.java.
| boolean com.jogamp.graph.ui.layout.Padding.zeroHeight | ( | ) |
Definition at line 101 of file Padding.java.
| boolean com.jogamp.graph.ui.layout.Padding.zeroSize | ( | ) |
Definition at line 103 of file Padding.java.
| boolean com.jogamp.graph.ui.layout.Padding.zeroWidth | ( | ) |
Definition at line 99 of file Padding.java.
| final float com.jogamp.graph.ui.layout.Padding.bottom |
Bottom value (unscaled)
Definition at line 47 of file Padding.java.
| final float com.jogamp.graph.ui.layout.Padding.left |
Left value (unscaled)
Definition at line 49 of file Padding.java.
Zero padding constant.
Definition at line 40 of file Padding.java.
| final float com.jogamp.graph.ui.layout.Padding.right |
Right value (unscaled)
Definition at line 45 of file Padding.java.
| final float com.jogamp.graph.ui.layout.Padding.top |
Top value (unscaled)
Definition at line 43 of file Padding.java.