Package org.polyfrost.polyui.unit
Class Gap
-
- All Implemented Interfaces:
public final class GapRepresents a fixed-size gap between rows or columns, used in flex and grid layouts.
-
-
Field Summary
Fields Modifier and Type Field Description public final static GapDefaultprivate final Unit.PixelmainGapprivate final Unit.PixelcrossGap
-
Constructor Summary
Constructors Constructor Description Gap(Unit.Pixel mainGap, Unit.Pixel crossGap)
-
Method Summary
Modifier and Type Method Description final Unit.PixelgetMainGap()final Unit.PixelgetCrossGap()-
-
Constructor Detail
-
Gap
Gap(Unit.Pixel mainGap, Unit.Pixel crossGap)
-
-
Method Detail
-
getMainGap
final Unit.Pixel getMainGap()
-
getCrossGap
final Unit.Pixel getCrossGap()
-
-
-
-