Example usage for com.badlogic.gdx.scenes.scene2d Actor scaleBy

List of usage examples for com.badlogic.gdx.scenes.scene2d Actor scaleBy

Introduction

In this page you can find the example usage for com.badlogic.gdx.scenes.scene2d Actor scaleBy.

Prototype

public void scaleBy(float scale) 

Source Link

Document

Adds the specified scale to the current scale.

Usage

From source file:com.quadbits.gdxhelper.scenemodel.LWPSceneModelManager.java

License:Apache License

public void scaleActors(float assetsScaleAbsolute, float assetsScaleRelative) {
    for (Actor actor : resizeableActorsAbsolute) {
        actor.scaleBy(assetsScaleAbsolute);
    }//w w  w .  java2  s .co m
    for (Actor actor : resizeableActorsRelative) {
        actor.scaleBy(assetsScaleRelative);
    }
}