[Gambas-user] Method Paint.DrawText unclear
Claus Dietrich
claus.dietrich at freenet.de
Fri Oct 15 19:31:45 CEST 2021
The method paint.DrawText is always puzzling me, because a variation of
Width, Height and Alignment has no visual impact and the range of
applicable Integer parameters for Alignment is undefined.
For example: The following commands provide 100% identical results:
Paint.DrawText("Hello", 0, 0, 0, 0)
Paint.DrawText("Hello", 0, 0, 100, 100)
Paint.DrawText("Hello", 0, 0, 0)
Paint.DrawText("Hello", 0, 0, 10)
and I tried several integers as Alignment-parameter without any visible
change. Which parameters are allowed and what do they do?
Since the wiki didn't solve my problem I kindly ask for help to
understand the parameters.
Regards
Claus
More information about the User
mailing list