DJI Mobile SDK Documentation

      class ARDistLineWidth

      class ARDistLineWidth implements Parcelable 
      Package:dji.open.pilot.base.manager.ar
      Description:

      Configuration for AR line width varying with distance.

      Supported since MSDK 5.20.1

      Class Members:
      method getMaxLineWidth
      float getMaxLineWidth() 
      Package:dji.open.pilot.base.manager.ar
      Description:

      Get the maximum line width (px).

      Supported since MSDK 5.20.1

      Return:
      floatMaximum line width in pixels.
      method getMaxWidthDist
      float getMaxWidthDist() 
      Package:dji.open.pilot.base.manager.ar
      Description:

      Get the distance (meters) at which the maximum line width is applied.

      Supported since MSDK 5.20.1

      Return:
      floatThe camera-to-line distance in meters at which the maximum line width is applied.
      method getMinLineWidth
      float getMinLineWidth() 
      Package:dji.open.pilot.base.manager.ar
      Description:

      Get the minimum line width (px).

      Supported since MSDK 5.20.1

      Return:
      floatMinimum line width in pixels.
      method getMinWidthDist
      float getMinWidthDist() 
      Package:dji.open.pilot.base.manager.ar
      Description:

      Get the distance (meters) at which the minimum line width is applied.

      Supported since MSDK 5.20.1

      Return:
      floatThe camera-to-line distance in meters at which the minimum line width is applied.