public class Arc extends AbstractShape
| Constructor and Description |
|---|
Arc(Vec3 center,
float radius,
float startAngle,
float endAngle) |
| Modifier and Type | Method and Description |
|---|---|
void |
fill(Batch batch,
Mat4x4 matrix) |
Vec3 |
getCenter(Vec3 dst) |
float |
getEndAngle() |
int |
getNumIndices() |
int |
getNumVertices() |
float |
getRadiusX() |
float |
getRadiusY() |
float |
getStartAngle() |
ShapeType |
getType() |
void |
setCenter(Vec3 center) |
void |
setEndAngle(float endAngle) |
void |
setRadiusX(float radiusX) |
void |
setRadiusY(float radiusY) |
void |
setStartAngle(float startAngle) |
getColor, isActive, setActive, setColorpublic Arc(Vec3 center, float radius, float startAngle, float endAngle)
public void setCenter(Vec3 center)
public float getRadiusX()
public void setRadiusX(float radiusX)
public float getRadiusY()
public void setRadiusY(float radiusY)
public float getStartAngle()
public void setStartAngle(float startAngle)
public float getEndAngle()
public void setEndAngle(float endAngle)
public final ShapeType getType()
public int getNumIndices()
public int getNumVertices()
Bonzai Engine 1.3.4 11/12/2015 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2015 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com