Posts by Fillipe • 46 points
3 posts
-
0
votes0
answers13
viewsQ: How to display stitch on screen without using canvas
I created an application in Java to draw lines, when I click the first time it draws a point to symbolize where it was clicked and when I click the second time it draws a straight line from the…
-
1
votes1
answer19
viewsA: How to create pixels on the canvas in java
Use Bitmap , to create do so: Bitmap exemplo = Bitmap.createBitmap(500, 1000, Bitmap.Config.ARGB_8888, true); //500 é a largura e 1000 a altura Then define it as mutable: exemplo =…
-
-1
votes1
answer36
viewsQ: How to get the x and y coordinates in a circle from an angle
I’m trying to create an analog clock and my idea was the following one would get the angle corresponding to the hour and then discover the position x e y of that angle in a circle and draw a line…