[Gambas-user] Method Paint.DrawText unclear

Benoît Minisini g4mba5 at gmail.com
Fri Oct 15 23:13:32 CEST 2021

Le 15/10/2021 à 22:39, Claus Dietrich a écrit :
> 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
> Claus
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----

I agree, the wiki page of Paint.DrawText() needs some examples to 
clarify the possible uses.

Benoît Minisini

More information about the User mailing list