DJI Mobile SDK Documentation

      class DrawingBoxInfo

      @Keep
      class DrawingBoxInfo implements Parcelable
      Package:dji.open.pilot.base.ui.cameraview
      Description:

      Drawing box information.

      Supported since MSDK 5.20.1

      Class Members:
      method
      method getRect
      OpenDoubleRect getRect() 
      Package:dji.open.pilot.base.ui.cameraview
      Description:

      Gets the drawing box area.

      Supported since MSDK 5.20.1

      Return:
      OpenDoubleRectThe drawing box area.
      method
      method setRect
      void setRect(OpenDoubleRect rect) 
      Package:dji.open.pilot.base.ui.cameraview
      Description:

      Sets the drawing box area.

      Supported since MSDK 5.20.1

      Input Parameters:
      OpenDoubleRect rectThe drawing box area.
      method
      method getLabel
      String getLabel() 
      Package:dji.open.pilot.base.ui.cameraview
      Description:

      Gets the label.

      Supported since MSDK 5.20.1

      Return:
      StringThe label.
      method
      method setLabel
      void setLabel(String label) 
      Package:dji.open.pilot.base.ui.cameraview
      Description:

      Sets the label.

      Supported since MSDK 5.20.1

      Input Parameters:
      String labelThe label.
      method
      method getColor
      int getColor() 
      Package:dji.open.pilot.base.ui.cameraview
      Description:

      Gets the drawing box color.

      Supported since MSDK 5.20.1

      Return:
      intThe drawing box color.
      method
      method setColor
      void setColor(int color) 
      Package:dji.open.pilot.base.ui.cameraview
      Description:

      Sets the drawing box color.

      Supported since MSDK 5.20.1

      Input Parameters:
      int colorThe drawing box color.
      method getLabelColor
      int getLabelColor() 
      Package:dji.open.pilot.base.ui.cameraview
      Description:

      Gets the label color.

      Supported since MSDK 5.20.1

      Return:
      intThe label color.
      method setLabelColor
      void setLabelColor(int labelColor) 
      Package:dji.open.pilot.base.ui.cameraview
      Description:

      Sets the label color.

      Supported since MSDK 5.20.1

      Input Parameters:
      int labelColorThe label color.