Dynamic Icons Scripting Reference - v1.3.0
    Preparing search index...

    Function parseAlignmentFromValue

    • Parses a string value into an Alignment enum type result and returns it. Accepted string values (brackets indicate the minimum # of characters required):

          Horizontal: "[l]eft", "[c]enter", "[r]ight", "[j]ustify"
      Vertical: "[t]op", "[m]iddle", "[b]ottom", "[ba]seline"

      Which direction to evaluate can be specified in the mask parameter as one of Alignment.H_MASK or Alignment.V_MASK.

      Parameters

      Returns Alignment