DJI Mobile SDK Documentation
      Package:corp.sdk.keyvalue.value.common
      class

      DoubleRect4Sides

      Rectangle data.

      Package corp.sdk.keyvalue.value.commonAndroid · Java / Kotlin

      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.

      Members

      8 members

      Method

      8

      Members

      method
      method

      getLeft

      Double getLeft()

      Return the left side data of the rectangle.

      Return

      NameDescription
      DoubleLeft side of the rectangle.
      method
      method

      setLeft

      void setLeft(Double left)

      To set the left side data of the rectangle.

      Parameters

      NameTypeDescription
      leftDouble Left side of the rectangle.
      method
      method

      getTop

      Double getTop()

      Return the upper side data of the rectangle.

      Return

      NameDescription
      DoubleUpper side of the rectangle.
      method
      method

      setTop

      void setTop(Double top)

      To set the upper side data of the rectangle.

      Parameters

      NameTypeDescription
      topDouble Upper side of the rectangle.
      method
      method

      getRight

      Double getRight()

      Return the right side data of the rectangle.

      Return

      NameDescription
      DoubleRight side of the rectangle.
      method
      method

      setRight

      void setRight(Double right)

      To set the right side data of the rectangle.

      Parameters

      NameTypeDescription
      rightDouble Right side of the rectangle.
      method
      method

      getBottom

      Double getBottom()

      Return the data of position under the rectangle.

      Return

      NameDescription
      DoublePosition under the rectangle
      method
      method

      setBottom

      void setBottom(Double bottom)

      To set the data of position under the rectangle.

      Parameters

      NameTypeDescription
      bottomDouble Position under the rectangle