We have somehow an emergency in the work, and we must do shortly an app able to: Take a Picture Draw freely over that picture We only need to save the draw but never the taken picture. Send the saved draw to an endpoint. I’ve been researching and maybe the best option would be using ..
I have a class named PdfViewerActivity in which I think these methods are responsible of my problem. The thing is that I’m drawing with a Paint into a Canvas to be able to draw within a pdf file. When I zoom the file, the elements that I drew move towards the x = 0 and ..
I’m drawing a white text on a bright canvas. Therefore it needs a strong shadow. With this method the shadow doesn’t really turn out black but just grey. At the moment I’m drawing it twice on top of each other but I’m looking for a better solution. Paint paint = new Paint(); paint.setColor(Color.WHITE); paint.setTextSize(30F); paint.setShadowLayer(8, ..
There is an SVG map and a CustomPainter that allows to draw a route from one point to another. The problem is that when quarterTurns: 1 in RotatedBox Widget, the route is built correctly, but when quarterTurns: 0 in the same RotatedBox, the route is built in absolutely different incorrect way. The route is built ..
Using the codes below, I draw on the Brushdrawingview, there is no problem so far, but the problem is that the size of the Brushdrawingview is 1080 * 1080, the size of the image I use is 2160 * 2160, What I want is to enlarge the Brushdrawingview drawing to the scale of the picture, ..
I searched this subject on the internet but I couldn’t understand how to do it. Is there anyone who can help? please help me Source: Android..
Draw arrow line I want to draw an arrow line on canvas instead of a straight line. Source: Android..
I was able to get an object detected from a certain image but now I would like to fill any color in that object in it while making it in android studio in java or kotlin .Note the object only should be filled with color and not the image . Source: Android..
I am drawing the text on canvas and it’s not inflating the text correctly. Stroke text font is showing instead of solid. Code and image is attached. I don’t the exact root cause for it. Please help me out for it. Thanks in advance. paint.setColor(Color.TRANSPARENT); key.getKeyDrawable().draw(canvas); //Initialize the note area Rect r = key.getKeyDrawable().getBounds(); int ..
Main Activity class playing the role of canvas color selection on the basis of spinner items Source: Android..