[PATCH] script: Add alignment argument to Image.Text

Ray Strode halfline at gmail.com
Tue Aug 7 21:28:39 PDT 2012


Hi,

On Mon, Aug 6, 2012 at 12:30 PM, Anisse Astier <anisse at astier.eu> wrote:
> Enables scripts to choose the text alignment they want with a seventh
> argument to Image.Text API:
> new_image = Image.Text("Hello", 1, 1, 1, 1, "DejaVu Bold,Italic 18",
> "center");
>
> This argument can be ignored, the default being left align.
> Possible values are "left", "center", or "right".
At a glance, seems fine to me.

Charlie, does it look okay to you?

--Ray


More information about the plymouth mailing list