@maxgraph/core
    Preparing search index...

    Function getAlignmentAsPoint

    • Returns an Point that represents the horizontal and vertical alignment for numeric computations.

      X is -0.5 for center, -1 for right and 0 for left alignment. Y is -0.5 for middle, -1 for bottom and 0 for top alignment.

      Default values for missing arguments is top, left.

      Parameters

      • align: string
      • valign: string

      Returns Point