Skip to content

b.textAlign() should allow to leave first argument empty #211

Open
@trych

Description

@trych

You can set both horizontal and vertical align (in this order) with b.textAlign(). I think if I just need to change vertical alignment, the function should allow me to do it like this:

b.textAlign(undefined, VerticalJustification.BOTTOM_ALIGN);

So, it aligns text to the bottom and leaves horizontal alignment at what it currently is set to.

At the moment it gives an error that it did not receive a Justification numerator.

Thoughts.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions