public class PaintChunkDrawer
extends java.lang.Object
Constructor and Description |
---|
PaintChunkDrawer() |
PaintChunkDrawer(PaintChunk chunk,
RelativeContext relativeContext) |
Modifier and Type | Method and Description |
---|---|
float |
drawGl(android.graphics.Matrix matrix,
float startLength,
int[] limit) |
void |
drawPaintedLayer(android.graphics.Canvas canvas) |
float |
drawPath(android.graphics.Canvas canvas,
float startLength) |
int |
getApproximatelyPointCount() |
MultiRect |
getBounds() |
GlProgram |
getChunkDrawGlProgram(GlTexture chunkTexture) |
android.graphics.Paint |
getLayerPaint() |
void |
setChunk(PaintChunk chunk,
RelativeContext relativeContext)
Deprecated.
|
void |
setupForGl() |
public PaintChunkDrawer()
public PaintChunkDrawer(PaintChunk chunk, RelativeContext relativeContext)
public void setupForGl()
@Deprecated public void setChunk(PaintChunk chunk, RelativeContext relativeContext)
public void drawPaintedLayer(android.graphics.Canvas canvas)
public float drawPath(@NonNull android.graphics.Canvas canvas, float startLength)
public int getApproximatelyPointCount()
public float drawGl(android.graphics.Matrix matrix, float startLength, int[] limit)
public MultiRect getBounds()
@AnyThread public android.graphics.Paint getLayerPaint()