Modifier and Type | Method and Description |
---|---|
static SquidColorCenter |
DefaultResources.getSCC()
This is a static global SquidColorCenter that can be used in places that just need an existing object that can do
things like analyze hue or saturation of a color.
|
Constructor and Description |
---|
SquidLayers(int gridWidth,
int gridHeight,
int cellWidth,
int cellHeight,
com.badlogic.gdx.graphics.g2d.BitmapFont bitmapFont,
SquidColorCenter bgColorCenter,
SquidColorCenter fgColorCenter)
Create a new SquidLayers widget with the given BitmapFont (already constructed), the given number of cells for
gridWidth and gridHeight, and the size in pixels for each cell given by cellWidth and cellHeight.
|
SquidLayers(int gridWidth,
int gridHeight,
int cellWidth,
int cellHeight,
SquidColorCenter bgColorCenter,
SquidColorCenter fgColorCenter)
Create a new SquidLayers widget with a default font (it will be square if cellWidth and cellHeight are equal, or
narrow otherwise), the given number of cells for gridWidth
and gridHeight, and the size in pixels for each cell given by cellWidth and cellHeight.
|
SquidLayers(int gridWidth,
int gridHeight,
int cellWidth,
int cellHeight,
String fontpath,
SquidColorCenter bgColorCenter,
SquidColorCenter fgColorCenter)
Create a new SquidLayers widget with the given path to a BitmapFont file, the given number of cells for gridWidth
and gridHeight, and the size in pixels for each cell given by cellWidth and cellHeight.
|
SquidLayers(int gridWidth,
int gridHeight,
int cellWidth,
int cellHeight,
TextCellFactory tcf,
SquidColorCenter bgColorCenter,
SquidColorCenter fgColorCenter)
Create a new SquidLayers widget with the given TextCellFactory, the given number of cells for gridWidth
and gridHeight, the size in pixels for each cell given by cellWidth and cellHeight, and the given
SquidColorCenters for background and foreground.
|
Copyright © 2012–2016. All rights reserved.