[Gambas-user] Method Paint.DrawText unclear

Claus Dietrich claus.dietrich at freenet.de
Fri Oct 15 22:39:58 CEST 2021

The examples were provided with a different focus and without the
Alignment parameter. Of course I tried it as additional parameter. I
simply wasn't aware that the Alignment class constants are applicable in
this case. The wiki refers to a rectangle to which the text is
constrained, but I found, that a rectangle is not mandatory. That Height
can be provided without Width and vice versa and that any Height or
Width parameter repositions the text seems to be obvious to everybody,
but it wasn't for clumsy me.

With best regards


More information about the User mailing list