DJI Mobile SDK Documentation

      class WaypointCameraFocusRectangleTargetParam

      class WaypointCameraFocusRectangleTargetParam
      Package:dji.common.mission.waypointv2.Action
      Description:

      This class defines a camera rectangle focus target for WaypointCameraFocusParam.

      Class Members:
      Rectangle Reference Point
      method
      method getReferencePoint
      PointF getReferencePoint()
      Package:dji.common.mission.waypointv2.Action
      Description:

      The point at the upper left corner of the rectangle. The range for x and y is from 0.0 to 1.0. The point [0.0, 0.0] represents the top-left angle of the screen.

      Return:
      PointFAn object of PointF.
      Rectangle Width
      method
      method getWidth
      float getWidth()
      Package:dji.common.mission.waypointv2.Action
      Description:

      The width of the rectangle. The range of the width is (0.0, 1.0]. The value increses from left to right from the getReferencePoint.

      Return:
      floatThe width of the rectangle.
      method
      method getHeight
      float getHeight()
      Package:dji.common.mission.waypointv2.Action
      Description:

      The height of the rectangle. The range of the height is (0.0, 1.0]. The value increases from top to botton from the getReferencePoint.

      Return:
      floatThe height of the rectangle.
      Constructor
      class