Vertex Viewer SDK
    Preparing search index...

    Function fromJson

    • Parses a JSON string representation of a Rectangle and returns an object.

      Parameters

      • json: string

        A JSON string, either in the form [x,y,width,height] or {"x": 0, "y": 0, "width": 10, "height": 10}

      Returns Rectangle.Rectangle

      A parsed Point.