Circle and Line width...

hexatrik

Member
Licensed User
Longtime User
Hi,
We are using Basic4ppc V6.90 Desktop. We are unable to set the line width of Line and Circle. Please guide....:confused:...:BangHead:
 

klaus

Expert
Licensed User
Longtime User
You should use ImageLibEx to draw the lines and circles.
You need to define a PenEx object to draw lines.
This object has a Width property which is the line thickness.
B4X:
[FONT=Courier New][SIZE=2]
[SIZE=2][FONT=Courier New]pen1.New1(cLineColor) [/FONT][/SIZE][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#008000][FONT=Courier New][SIZE=2][COLOR=#008000][FONT=Courier New][SIZE=2][COLOR=#008000]' init pen, color for drawing lines[/COLOR][/SIZE][/FONT]
[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2]pen1.Width=cPenWidth [/SIZE][/FONT][/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#008000][FONT=Courier New][SIZE=2][COLOR=#008000][FONT=Courier New][SIZE=2][COLOR=#008000]' init pen, width for drawing lines[/COLOR][/SIZE][/FONT]
[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT]
Best regards.
 
Top