Example usage for com.badlogic.gdx.scenes.scene2d.ui Cell fill

List of usage examples for com.badlogic.gdx.scenes.scene2d.ui Cell fill

Introduction

In this page you can find the example usage for com.badlogic.gdx.scenes.scene2d.ui Cell fill.

Prototype

public Cell<T> fill(boolean x, boolean y) 

Source Link

Document

Sets fillX and fillY to 1 if true, 0 if false.

Usage

From source file:com.kotcrab.vis.ui.building.utilities.CellWidget.java

License:Apache License

private void applyFillingData(final Cell<?> cell) {
    if (alignment != null) {
        alignment.apply(cell);/*from  ww  w .j a  va 2  s.c  o  m*/
    }
    cell.expand(expandX, expandY);
    cell.fill(fillX, fillY);
}