CanvasView icon indicating copy to clipboard operation
CanvasView copied to clipboard

Android Application Library

Results 23 CanvasView issues
Sort by recently updated
recently updated
newest added

how to Draw a hollow rectangle this.canvas.setMode(CanvasView.Mode.DRAW); // for drawing this.canvas.setBaseColor(Color.BLUE); this.canvas.setPaintStyle(Paint.Style.STROKE); this.canvas.setPaintStrokeWidth(20F); this.canvas.setPaintStrokeColor(Color.RED); this.canvas.setDrawer(CanvasView.Drawer.RECTANGLE); // Draw Rectangle this.canvas.setLineCap(Paint.Cap.SQUARE); this.canvas.setBlur(5F); I try this,but no used

fix badges jitpack + travis

Hi @Korilakkuma I have fixed the problem with the erase mode by changing the way of how **createPaint** method handle with erase mode. As you will see on the code...

1) Replaced 1000F in path.addRect() with calls to get the measured width and height of the view 2) Replaced the old white Paint with the eraser-style Paint

I used your code and i try to make eraser code which's i'm not able to did,so can you please help me how to make eraser

I try to use your code but the eraser is not working,how can i use it

How to Re-enable all settings disabled ,e.g., by disableSettings() method.

hi,how i can change brush color?? for example 'red,white,blue'

After clearing screen drawing becomes laggy.. Also eraser is not clearing the drawing its changing stoke color to white. It doesn't works on other background color.

Hi Friend, I hope there is a answer of my Question. I want to change Mode, Drawer, PaintStrokeWidth on button click. Currently I wrote the code `btn.setOnClickListener(new View.OnClickListener() { @Override...