You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
347 B
21 lines
347 B
10 years ago
|
package mightypork.gamecore.gui.components.layout.linear;
|
||
|
|
||
|
|
||
|
import mightypork.gamecore.util.math.constraints.num.Num;
|
||
|
|
||
|
|
||
|
public class LinearGap extends LinearRectangle {
|
||
|
|
||
|
public LinearGap(Num width)
|
||
|
{
|
||
|
super(null, width);
|
||
|
}
|
||
|
|
||
|
|
||
|
public LinearGap(double heightPercent)
|
||
|
{
|
||
|
super(null, Num.ZERO);
|
||
|
setWidth(height().perc(heightPercent));
|
||
|
}
|
||
|
}
|