getRelativeBounds | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Function getRelativeBounds

    • get the relative bound difference between two elements, and return a writable copy

      Parameters

      • node: Element

        The node for which you need coordinates

      • Optionalrelativeto: Element

        Optional reference point. If not set, you just get a 'normal' coordinate object

      Returns Rect