# class DoubleRect

    class DoubleRect implements DJIValue, JNIProguardKeepTag, ByteStream

Package: | dji.sdk.keyvalue.value.common

##### Description:

Rectangle data

##### Class Members:

#### Members

method
getX

###### method getX

    Double getX()

Package: | dji.sdk.keyvalue.value.common

##### Description:

Return x-axis data of the coordinates of the upper left corner of the rectangle.

##### Return:

Double | X axis

method
setX

###### method setX

    void setX(Double x)

Package: | dji.sdk.keyvalue.value.common

##### Description:

To set the x-axis data of the coordinates of the upper left corner of the rectangle.

##### Input Parameters:

Double x | X axis of the coordinates of the upper left corner of the rectangle.

method
getY

###### method getY

    Double getY()

Package: | dji.sdk.keyvalue.value.common

##### Description:

Return y-axis data of the coordinates of the upper left corner of the rectangle.

##### Return:

Double | Y axis

method
setY

###### method setY

    void setY(Double y)

Package: | dji.sdk.keyvalue.value.common

##### Description:

To set y-axis data of the coordinates of the upper left corner of the rectangle.

##### Input Parameters:

Double y | Y axis of the coordinates of the upper left corner of the rectangle.

method
getWidth

###### method getWidth

    Double getWidth()

Package: | dji.sdk.keyvalue.value.common

##### Description:

Return length data of rectangle.

##### Return:

Double | Rectangle length.

method
setWidth

###### method setWidth

    void setWidth(Double width)

Package: | dji.sdk.keyvalue.value.common

##### Description:

To set length data of rectangle.

##### Input Parameters:

Double width | Rectangle length.

method
getHeight

###### method getHeight

    Double getHeight()

Package: | dji.sdk.keyvalue.value.common

##### Description:

Return width data of rectangle.

##### Return:

Double | Rectangle width。

method
setHeight

###### method setHeight

    void setHeight(Double height)

Package: | dji.sdk.keyvalue.value.common

##### Description:

To set width data of rectangle.

##### Input Parameters:

Double height | Rectangle width

×

## Search Mobile SDK Document

{{searchCount}} Results

- ### {{{(item.highlights && item.highlights.title) || item.title}}}

  {{{(item.highlights && item.highlights.content[0]) || item.title}}}

Load More
Loading...
Not Found