public class PaintChunkDrawer
extends java.lang.Object
Constructor and Description |
---|
PaintChunkDrawer(PaintChunk chunk) |
PaintChunkDrawer(PaintChunk chunk,
float resolutionScale) |
Modifier and Type | Method and Description |
---|---|
void |
drawPaintedLayer(Canvas canvas) |
float |
drawPath(Canvas canvas,
float startLength) |
RectF |
getBounds() |
Paint |
getLayerPaint() |
void |
setChunk(PaintChunk chunk) |
void |
setChunk(PaintChunk chunk,
float resolutionScale) |
public PaintChunkDrawer(PaintChunk chunk)
public PaintChunkDrawer(PaintChunk chunk, float resolutionScale)
public void drawPaintedLayer(Canvas canvas)
public float drawPath(@NonNull Canvas canvas, float startLength)
public RectF getBounds()
public Paint getLayerPaint()
public void setChunk(PaintChunk chunk)
public void setChunk(PaintChunk chunk, float resolutionScale)