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:
PointF An object of PointF.
method 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:
float The width of the rectangle.
method 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:
float The height of the rectangle.