I draw like this:
cnvs.drawLine(0, 0, 300, 300, point);
How to set the width of the drawn line, for example 3 pixels?
It is possible to install through the Paint class. So youpaint.setStrokeWidth(число)
youpaint.setStrokeWidth(число)
Source: https://ru.stackoverflow.com/questions/592087/More articles:Help refactorJson data processingRetrieving data in peeweeDisable gestures on win tabletHow to get padding property without px in jQuery?The problem with changing the item RecyclerViewJavaFX. onMouseEnter with the mouse button downLocked access interface ILo (web)Browsing files and copying to a specific folderfind out the position of a certain div'a scrollAll Articles