Class Insets2D
- java.lang.Object
-
- com.github.weisj.darklaf.components.uiresource.Insets2D
-
-
Constructor Summary
Constructors Constructor Description Insets2D(double top, double left, double bottom, double right)
Creates and initializes a newInsets
object with the specified top, left, bottom, and right insets.
-
-
-
Constructor Detail
-
Insets2D
public Insets2D(double top, double left, double bottom, double right)
Creates and initializes a newInsets
object with the specified top, left, bottom, and right insets.- Parameters:
top
- the inset from the top.left
- the inset from the left.bottom
- the inset from the bottom.right
- the inset from the right.
-
-
Method Detail
-
set
public void set(double top, double left, double bottom, double right)
Set top, left, bottom, and right to the specified values- Parameters:
top
- the inset from the top.left
- the inset from the left.bottom
- the inset from the bottom.right
- the inset from the right.- Since:
- 1.5
-
-