private static class ShapeEvaluator.Geometry
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) float[] |
bezierCoords |
(package private) static float |
MIN_LEN |
(package private) float[] |
myTvals |
(package private) int |
numCoords |
(package private) static float |
THIRD |
(package private) int |
windingrule |
Modifier and Type | Method and Description |
---|---|
private void |
appendCubicTo(float ctrlx1,
float ctrly1,
float ctrlx2,
float ctrly2,
float x1,
float y1) |
private void |
appendLineTo(float x0,
float y0,
float x1,
float y1) |
private void |
appendQuadTo(float x0,
float y0,
float ctrlx,
float ctrly,
float x1,
float y1) |
float |
getCoord(int i) |
int |
getNumCoords() |
float[] |
getTvals() |
int |
getWindingRule() |
void |
setTvals(float[] newTvals) |
static final float THIRD
static final float MIN_LEN
float[] bezierCoords
int numCoords
int windingrule
float[] myTvals
public Geometry(Shape s)
private void appendLineTo(float x0, float y0, float x1, float y1)
private void appendQuadTo(float x0, float y0, float ctrlx, float ctrly, float x1, float y1)
private void appendCubicTo(float ctrlx1, float ctrly1, float ctrlx2, float ctrly2, float x1, float y1)
public int getWindingRule()
public int getNumCoords()
public float getCoord(int i)
public float[] getTvals()
public void setTvals(float[] newTvals)