Button.getAlignment

void getAlignment(out float xalign, out float yalign)

Gets the alignment of the child in the button.

Parameters

xalignreturn location for horizontal alignment
yalignreturn location for vertical alignment

Deprecated

Access the child widget directly if you need to control

its alignment.