Nutrient Web SDK
    Preparing search index...

    Function SELECTION_OUTLINE_PADDING

    • Receives a NutrientViewer.Geometry.Size object with the current viewport dimensions (width and height) and returns the padding that will be added between an annotation and the selection outline in px.

      The default implementation will increase the outline padding on small devices.

      Parameters

      Returns number