最終更新:2019-11-04 (月) 03:53:20 (1640d)
ScribbleMoveEraserDemoActivity
Top / ScribbleMoveEraserDemoActivity
ペンのストローク
- onRawDrawingTouchPointListReceived?:
- createPath
- 受け取った座標からandroid.graphics.Pathを生成
- renderBitmap
- Canvas.drawPath?
- getRenderPaint?
paint.setStrokeWidth(renderStrokeWidth); paint.setColor(Color.BLACK); paint.setAntiAlias(true); paint.setStyle(Paint.Style.STROKE); paint.setDither(true); paint.setStrokeCap(Paint.Cap.ROUND); paint.setStrokeJoin(Paint.Join.ROUND); paint.setStrokeMiter(4.0f);
コールバック
- RawInputCallback?