Parses a string containing 1 or 2 alignment values into an Alignment enum type result and returns it.
See parseAlignmentFromValue() for accepted string values for each direction.
Values may be specified individually or separated by space or comma, in either order. Eg: "top" or "middle" or "left top" or "middle right"
To determine which direction(s) were specified in the input string, check the mask of the return value.
To limit the alignment direction to evaluate & return, specified the mask parameter as one of Alignment.H_MASK or Alignment.V_MASK.
Parses a string containing 1 or 2 alignment values into an
Alignment
enum type result and returns it. SeeparseAlignmentFromValue()
for accepted string values for each direction.Values may be specified individually or separated by space or comma, in either order. Eg: "top" or "middle" or "left top" or "middle right"
To determine which direction(s) were specified in the input string, check the mask of the return value.
To limit the alignment direction to evaluate & return, specified the
mask
parameter as one ofAlignment.H_MASK
orAlignment.V_MASK
.