blob: 2799d7522e1037454af90b3b485b9d6108a559ce [file] [log] [blame]
// Signature format: 4.0
package androidx.ink.rendering.android.canvas {
public interface CanvasStrokeRenderer {
method public static androidx.ink.rendering.android.canvas.CanvasStrokeRenderer create(optional androidx.ink.brush.TextureBitmapStore textureStore);
method public default void draw(android.graphics.Canvas canvas, androidx.ink.strokes.InProgressStroke inProgressStroke, android.graphics.Matrix strokeToScreenTransform);
method public default void draw(android.graphics.Canvas canvas, androidx.ink.strokes.InProgressStroke inProgressStroke, androidx.ink.geometry.AffineTransform strokeToScreenTransform);
method public default void draw(android.graphics.Canvas canvas, androidx.ink.strokes.Stroke stroke, android.graphics.Matrix strokeToScreenTransform);
method public default void draw(android.graphics.Canvas canvas, androidx.ink.strokes.Stroke stroke, androidx.ink.geometry.AffineTransform strokeToScreenTransform);
field public static final androidx.ink.rendering.android.canvas.CanvasStrokeRenderer.Companion Companion;
}
public static final class CanvasStrokeRenderer.Companion {
method public androidx.ink.rendering.android.canvas.CanvasStrokeRenderer create(optional androidx.ink.brush.TextureBitmapStore textureStore);
}
public final class StrokeDrawScope {
method public void drawStroke(androidx.ink.strokes.Stroke stroke);
}
}
package androidx.ink.rendering.android.view {
public final class ViewStrokeRenderer {
ctor public ViewStrokeRenderer(androidx.ink.rendering.android.canvas.CanvasStrokeRenderer canvasStrokeRenderer, android.view.View view);
method public inline void drawWithStrokes(android.graphics.Canvas canvas, kotlin.jvm.functions.Function1<? super androidx.ink.rendering.android.canvas.StrokeDrawScope,kotlin.Unit> block);
method public void drawWithStrokes(android.graphics.Canvas canvas, kotlin.jvm.functions.Function2<? super android.graphics.Canvas,? super androidx.ink.rendering.android.canvas.StrokeDrawScope,kotlin.Unit> block);
}
}