public class FilledPolygon
extends java.lang.Object
| Constructor and Description |
|---|
FilledPolygon(com.badlogic.gdx.graphics.g2d.TextureRegion texture,
com.badlogic.gdx.utils.Array<com.badlogic.gdx.math.Vector2> vertices) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(com.badlogic.gdx.graphics.g2d.PolygonSpriteBatch batch) |
void |
setPosition(float x,
float y) |
void |
setVertices(com.badlogic.gdx.utils.Array<com.badlogic.gdx.math.Vector2> vertices) |
com.badlogic.gdx.graphics.g2d.PolygonSprite |
sprite() |
public FilledPolygon(com.badlogic.gdx.graphics.g2d.TextureRegion texture,
com.badlogic.gdx.utils.Array<com.badlogic.gdx.math.Vector2> vertices)
public void setVertices(com.badlogic.gdx.utils.Array<com.badlogic.gdx.math.Vector2> vertices)
public void draw(com.badlogic.gdx.graphics.g2d.PolygonSpriteBatch batch)
public com.badlogic.gdx.graphics.g2d.PolygonSprite sprite()
public void setPosition(float x,
float y)