JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.graph.ui.layout.Padding Class Reference

GraphUI CSS property Padding, unscaled space belonging to the element and included in the element's size. More...

Collaboration diagram for com.jogamp.graph.ui.layout.Padding:

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ Padding() [1/4]

com.jogamp.graph.ui.layout.Padding.Padding ( final float  top,
final float  right,
final float  bottom,
final float  left 
)

Ctor.

Parameters
topunscaled top value
rightunscaled right value
bottomunscaled bottom value
leftunscaled left value

Definition at line 62 of file Padding.java.

◆ Padding() [2/4]

com.jogamp.graph.ui.layout.Padding.Padding ( final float  top,
final float  rl,
final float  bottom 
)

Ctor.

Parameters
topunscaled top value
rlunscaled right and left value
bottomunscaled bottom value

Definition at line 72 of file Padding.java.

◆ Padding() [3/4]

com.jogamp.graph.ui.layout.Padding.Padding ( final float  tb,
final float  rl 
)

Ctor.

Parameters
tbunscaled top and bottom value
rlunscaled right and left value

Definition at line 81 of file Padding.java.

◆ Padding() [4/4]

com.jogamp.graph.ui.layout.Padding.Padding ( final float  trbl)

Ctor.

Parameters
trblunscaled top, right, bottom and left value

Definition at line 89 of file Padding.java.

Member Function Documentation

◆ height()

float com.jogamp.graph.ui.layout.Padding.height ( )

Return unscaled height of vertical values bottom + top.

Definition at line 97 of file Padding.java.

Here is the caller graph for this function:

◆ toString()

String com.jogamp.graph.ui.layout.Padding.toString ( )

Definition at line 106 of file Padding.java.

Here is the caller graph for this function:

◆ width()

float com.jogamp.graph.ui.layout.Padding.width ( )

Return unscaled width of horizontal values top + right.

Definition at line 94 of file Padding.java.

Here is the caller graph for this function:

◆ zeroHeight()

boolean com.jogamp.graph.ui.layout.Padding.zeroHeight ( )

Definition at line 101 of file Padding.java.

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

◆ zeroSize()

boolean com.jogamp.graph.ui.layout.Padding.zeroSize ( )

Definition at line 103 of file Padding.java.

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

◆ zeroWidth()

boolean com.jogamp.graph.ui.layout.Padding.zeroWidth ( )

Definition at line 99 of file Padding.java.

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

Member Data Documentation

◆ bottom

final float com.jogamp.graph.ui.layout.Padding.bottom

Bottom value (unscaled)

Definition at line 47 of file Padding.java.

◆ left

final float com.jogamp.graph.ui.layout.Padding.left

Left value (unscaled)

Definition at line 49 of file Padding.java.

◆ None

final Padding com.jogamp.graph.ui.layout.Padding.None = new Padding()
static

Zero padding constant.

Definition at line 40 of file Padding.java.

◆ right

final float com.jogamp.graph.ui.layout.Padding.right

Right value (unscaled)

Definition at line 45 of file Padding.java.

◆ top

final float com.jogamp.graph.ui.layout.Padding.top

Top value (unscaled)

Definition at line 43 of file Padding.java.


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