List of usage examples for com.badlogic.gdx.scenes.scene2d.ui Image subclass-usage
From source file com.kotcrab.vis.editor.ui.ProgressImage.java
/** @author Kotcrab */ public class ProgressImage extends Image { public ProgressImage() { super(Icons.PROGRESS.drawable()); setOrigin(getWidth() / 2, getHeight() / 2); }
From source file com.kotcrab.vis.editor.ui.scene.entityproperties.TintImage.java
class TintImage extends Image { private final Drawable alphaBar = Assets.getMisc("alpha-grid-20x20"); private final Drawable white = VisUI.getSkin().getDrawable("white"); private final Drawable questionMark = Assets.getIcon(Icons.QUESTION); private boolean unknown;
From source file com.kotcrab.vis.editor.ui.TintImage.java
/** * 20x20 image used to display currently selected tint in {@link EntityProperties} * @author Kotcrab */ public class TintImage extends Image { private final Drawable alphaBar = Assets.getMisc("alpha-grid-20x20");
From source file com.kotcrab.vis.ui.widget.color.AlphaImage.java
/** * Image that displays alpha grid as background, used by ColorPicker to display selected colors, should not be used outside Picker * due to that this Image scales 25px grid image to whatever size it needed. It will look weird for smaller or bigger images. * @author Kotcrab */ public class AlphaImage extends Image {
From source file com.kotcrab.vis.ui.widget.VisImage.java
/** * Compatible with {@link Image}. Does not provide additional features. * @author Kotcrab * @see Image */ public class VisImage extends Image {
From source file com.o2d.pkayjava.editor.view.ui.widget.actors.basic.PixelLine.java
public class PixelLine extends Image { private float thickness = 1f; public PixelLine(EditorTextureManager tm, float x, float y, float toX, float toY) { super(prepareTexture(tm));
From source file com.steelkiwi.patheditor.widgets.GdxImage.java
public class GdxImage extends Image { private String texPath; public GdxImage(Texture t, String name) { super(t, Scaling.none, Align.CENTER, name); }
From source file com.strategames.engine.gameobject.GameObject.java
/**
* GameObject assumes sprite origin is located at bottom left. If you extend this
* class for an object where the sprite origin is somewhere else you need to override
* the following methods
* <br/>
* {@link #moveTo(float, float)}
From source file com.strategames.engine.gameobject.types.ChalkLine.java
public class ChalkLine extends Image { private static Sprite[] chalks; private ArrayList<Sprite> chalkLine; private float length; private float lengthPerStep; private int steps;
From source file com.strategames.engine.gameobject.types.Text.java
public class Text extends Image { private static BitmapFont font; private static ShaderProgram fontShader; private String text = "";