DJI Mobile SDK Documentation

      class DJIWaypointV2CameraFocusRectangleTargetParam

      @interface DJIWaypointV2CameraFocusRectangleTargetParam : NSObject
      Header:DJIWaypointV2Action.h
      Inherits From:NSObject
      Description:

      This class defines a camera rectangle focus target for DJIWaypointV2CameraFocusParam.

      Class Members:
      Rectangle Reference Point
      property
      property referencePoint
      @property (nonatomic, assign) CGPoint referencePoint
      Header:DJIWaypointV2Action.h
      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.

      Rectangle Width
      property
      property width
      @property (nonatomic, assign) float width
      Header:DJIWaypointV2Action.h
      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 referencePoint.

      property
      property height
      @property (nonatomic, assign) float height
      Header:DJIWaypointV2Action.h
      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 referencePoint.