DJI Mobile SDK Documentation

      class DoubleRect4Sides

      class DoubleRect4Sides implements DJIValue, JNIProguardKeepTag, ByteStream
      Package:dji.sdk.keyvalue.value.common
      Description:

      Rectangle data. Use the top, bottom, left and right sides to define the rectangle. (0,0) is the upper left corner of the rectangle and (1,1) is the lower right corner of the rectangle.

      Class Members:

      Members

      method
      method getLeft
      Double getLeft()
      Package:dji.sdk.keyvalue.value.common
      Description:

      Return the left side data of the rectangle.

      Return:
      DoubleLeft side of the rectangle.
      method
      method setLeft
      void setLeft(Double left)
      Package:dji.sdk.keyvalue.value.common
      Description:

      To set the left side data of the rectangle.

      Input Parameters:
      Double leftLeft side of the rectangle.
      method
      method getTop
      Double getTop()
      Package:dji.sdk.keyvalue.value.common
      Description:

      Return the upper side data of the rectangle.

      Return:
      DoubleUpper side of the rectangle.
      method
      method setTop
      void setTop(Double top)
      Package:dji.sdk.keyvalue.value.common
      Description:

      To set the upper side data of the rectangle.

      Input Parameters:
      Double topUpper side of the rectangle.
      method
      method getRight
      Double getRight()
      Package:dji.sdk.keyvalue.value.common
      Description:

      Return the right side data of the rectangle.

      Return:
      DoubleRight side of the rectangle.
      method
      method setRight
      void setRight(Double right)
      Package:dji.sdk.keyvalue.value.common
      Description:

      To set the right side data of the rectangle.

      Input Parameters:
      Double rightRight side of the rectangle.
      method
      method getBottom
      Double getBottom()
      Package:dji.sdk.keyvalue.value.common
      Description:

      Return the data of position under the rectangle.

      Return:
      DoublePosition under the rectangle
      method
      method setBottom
      void setBottom(Double bottom)
      Package:dji.sdk.keyvalue.value.common
      Description:

      To set the data of position under the rectangle.

      Input Parameters:
      Double bottomPosition under the rectangle