public class

CameraLensFocusTargetPoint

extends Object
java.lang.Object
   ↳ dji.common.camera.CameraLensFocusTargetPoint

Class Overview

The lens focus Target point.

Summary

Public Constructors
CameraLensFocusTargetPoint()
CameraLensFocusTargetPoint(float x, float y)
Public Methods
float getX()
float getY()
void setX(float x)
Sets the x axis value.
void setY(float y)
Sets the x axis value.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public CameraLensFocusTargetPoint ()

public CameraLensFocusTargetPoint (float x, float y)

Public Methods

public float getX ()

Returns
  • The float value on x axis falls in [0.0, 1.0]. The point [0.0, 0.0] represents the top-left angle of the screen.

public float getY ()

Returns
  • The float value on y axis falls in [0.0, 1.0]. The point [0.0, 0.0] represents the top-left angle of the screen.

public void setX (float x)

Sets the x axis value.

Parameters
x Should falls in [0.0, 1.0].

public void setY (float y)

Sets the x axis value.

Parameters
y Should falls in [0.0, 1.0].