libgdx API

com.badlogic.gdx.graphics.g2d
Class EmptyNinePatch

java.lang.Object
  extended by com.badlogic.gdx.graphics.g2d.NinePatch
      extended by com.badlogic.gdx.graphics.g2d.EmptyNinePatch

public class EmptyNinePatch
extends NinePatch

Empty ninepatch for controls that require a ninepatch.


Field Summary
 
Fields inherited from class com.badlogic.gdx.graphics.g2d.NinePatch
BOTTOM_CENTER, BOTTOM_LEFT, BOTTOM_RIGHT, MIDDLE_CENTER, MIDDLE_LEFT, MIDDLE_RIGHT, TOP_CENTER, TOP_LEFT, TOP_RIGHT
 
Method Summary
 void draw(SpriteBatch batch, float x, float y, float width, float height)
           
static EmptyNinePatch getInstance()
           
static TextureRegion getRegion()
           
 
Methods inherited from class com.badlogic.gdx.graphics.g2d.NinePatch
getBottomHeight, getColor, getLeftWidth, getPatches, getRightWidth, getTopHeight, getTotalHeight, getTotalWidth, setBlending, setColor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static EmptyNinePatch getInstance()

getRegion

public static TextureRegion getRegion()

draw

public void draw(SpriteBatch batch,
                 float x,
                 float y,
                 float width,
                 float height)
Overrides:
draw in class NinePatch

libgdx API

Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)