DJI Mobile SDK Documentation

      class ARTextConfig

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

      AR Text configuration.

      Supported since MSDK 5.20.1

      Class Members:
      method
      method getName
      String getName() 
      Package:dji.open.pilot.base.manager.ar
      Description:

      Gets the configuration name.

      Supported since MSDK 5.20.1

      Return:
      StringReturns the configuration name.
      method getTextSize
      float getTextSize() 
      Package:dji.open.pilot.base.manager.ar
      Description:

      Gets the text size.

      Supported since MSDK 5.20.1

      Return:
      floatReturns the text size.
      method getFontGravity
      ARFontGravity getFontGravity() 
      Package:dji.open.pilot.base.manager.ar
      Description:

      Gets the alignment of the text.

      Supported since MSDK 5.20.1

      Return:
      ARFontGravityReturns the alignment of the text.
      method
      method isShadow
      boolean isShadow() 
      Package:dji.open.pilot.base.manager.ar
      Description:

      Gets whether there is a shadow.

      Supported since MSDK 5.20.1

      Return:
      booleanReturns whether there is a shadow.
      method getBackgroundColor
      int getBackgroundColor() 
      Package:dji.open.pilot.base.manager.ar
      Description:

      Gets the background color.

      Supported since MSDK 5.20.1

      Return:
      intReturns the background color.