28package com.jogamp.graph.ui.layout;
30import com.jogamp.math.FloatUtil;
43 public final float top;
73 this.top =
top; this.right = rl; this.bottom =
bottom; this.left = rl;
81 public Padding(
final float tb,
final float rl) {
82 this.top = tb; this.right = rl; this.bottom = tb; this.left = rl;
90 this.top = trbl; this.right = trbl; this.bottom = trbl; this.left = trbl;
GraphUI CSS property Padding, unscaled space belonging to the element and included in the element's s...
final float top
Top value (unscaled)
final float left
Left value (unscaled)
static final Padding None
Zero padding constant.
Padding(final float trbl)
Ctor.
final float right
Right value (unscaled)
Padding(final float top, final float right, final float bottom, final float left)
Ctor.
float height()
Return unscaled height of vertical values bottom + top.
Padding(final float top, final float rl, final float bottom)
Ctor.
float width()
Return unscaled width of horizontal values top + right.
final float bottom
Bottom value (unscaled)
Padding(final float tb, final float rl)
Ctor.
Basic Float math utility functions.
static boolean isZero(final float a, final float epsilon)
Returns true if value is zero, i.e.