public interface PolygonBatch extends Batch
Modifier and Type | Method and Description |
---|---|
void |
draw(PolygonRegion region,
float x,
float y)
Draws a polygon region with the bottom left corner at x,y having the width and height of the region.
|
void |
draw(PolygonRegion region,
float x,
float y,
float width,
float height)
Draws a polygon region with the bottom left corner at x,y and stretching the region to cover the given width and height.
|
void |
draw(PolygonRegion region,
float x,
float y,
float originX,
float originY,
float width,
float height,
float scaleX,
float scaleY,
float rotation)
Draws the polygon region with the bottom left corner at x,y and stretching the region to cover the given width and height.
|
void |
draw(Texture texture,
float[] polygonVertices,
int verticesOffset,
int verticesCount,
short[] polygonTriangles,
int trianglesOffset,
int trianglesCount)
Draws the polygon using the given vertices and triangles.
|
begin, disableBlending, draw, draw, draw, draw, draw, draw, draw, draw, draw, draw, draw, draw, enableBlending, end, flush, getBlendDstFunc, getBlendDstFuncAlpha, getBlendSrcFunc, getBlendSrcFuncAlpha, getColor, getPackedColor, getProjectionMatrix, getShader, getTransformMatrix, isBlendingEnabled, isDrawing, setBlendFunction, setBlendFunctionSeparate, setColor, setColor, setPackedColor, setProjectionMatrix, setShader, setTransformMatrix
dispose
void draw(PolygonRegion region, float x, float y)
void draw(PolygonRegion region, float x, float y, float width, float height)
void draw(PolygonRegion region, float x, float y, float originX, float originY, float width, float height, float scaleX, float scaleY, float rotation)
void draw(Texture texture, float[] polygonVertices, int verticesOffset, int verticesCount, short[] polygonTriangles, int trianglesOffset, int trianglesCount)
Copyright © 2020. All rights reserved.