Package org.polyfrost.polyui.unit
Class Unit.Grid
-
-
Method Summary
Modifier and Type Method Description FloatgetPx()computed pixel value of this unit. UnitsetPx(Float px)computed pixel value of this unit. final IntegergetRow()final UnitsetRow(Integer row)final IntegergetColumn()final UnitsetColumn(Integer column)final IntegergetRs()final IntegergetCs()Unit.Gridclone()-
-
Constructor Detail
-
Unit.Grid
Unit.Grid(Integer row, Integer column, Integer rs, Integer cs)
- Parameters:
row- the row of the grid to place the component in.column- the column of the grid to place the component in.rs- the number of rows the component should span.cs- the number of columns the component should span.
-
Unit.Grid
Unit.Grid(Integer row, Integer column, Integer rs)
- Parameters:
row- the row of the grid to place the component in.column- the column of the grid to place the component in.rs- the number of rows the component should span.
-
-
-
-