use of com.ray3k.stripe.FreeTypeSkin in project skin-composer by raeleus.
the class Main method create.
@Override
public void create() {
appFolder = Gdx.files.external(".skincomposer/");
skin = new FreeTypeSkin(Gdx.files.internal("skin-composer-ui/skin-composer-ui.json"));
viewport = new ScreenViewport();
// viewport.setUnitsPerPixel(.5f);
stage = new Stage(viewport);
Gdx.input.setInputProcessor(stage);
shapeDrawer = new ShapeDrawer(stage.getBatch(), skin.getRegion("white"));
graphDrawer = new GraphDrawer(shapeDrawer);
initDefaults();
populate();
resizeUiScale(projectData.getUiScale());
}
Aggregations