private static final class Stroker.PolyStack
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) float[] |
curves |
(package private) int[] |
curveTypes |
(package private) int |
end |
private static int |
INIT_SIZE |
(package private) int |
numCurves |
Constructor and Description |
---|
PolyStack() |
Modifier and Type | Method and Description |
---|---|
private void |
ensureSpace(int n) |
boolean |
isEmpty() |
int |
pop(float[] pts) |
void |
pop(PathConsumer2D io) |
void |
pushCubic(float x0,
float y0,
float x1,
float y1,
float x2,
float y2) |
void |
pushLine(float x,
float y) |
void |
pushQuad(float x0,
float y0,
float x1,
float y1) |
java.lang.String |
toString() |
float[] curves
int end
int[] curveTypes
int numCurves
private static final int INIT_SIZE
public boolean isEmpty()
private void ensureSpace(int n)
public void pushCubic(float x0, float y0, float x1, float y1, float x2, float y2)
public void pushQuad(float x0, float y0, float x1, float y1)
public void pushLine(float x, float y)
public int pop(float[] pts)
public void pop(PathConsumer2D io)
public java.lang.String toString()
toString
in class java.lang.Object