Foxit PDF SDK
com.foxit.sdk.addon.accessibility.AccessibilityRectInfo Class Reference

Public Member Functions

 AccessibilityRectInfo ()
 Constructor.

 
 AccessibilityRectInfo (AccessibilityRectInfo other)
 Constructor, with another accessibility rect info object.
More...
 
synchronized void delete ()
 Clean up related C++ resources immediately. More...
 
int getData_index ()
 Get index that maps this rectangle back to its entry in the page's reading-order data. More...
 
RectF getRect ()
 Get the rectangle. More...
 
void set (RectF rect, int data_index)
 Set value.
More...
 
void setData_index (int value)
 Set index that maps this rectangle back to its entry in the page's reading-order data. More...
 
void setRect (RectF value)
 Set the rectangle. More...
 

Detailed Description

This class represents accessibility rect info.

Constructor & Destructor Documentation

◆ AccessibilityRectInfo()

com.foxit.sdk.addon.accessibility.AccessibilityRectInfo.AccessibilityRectInfo ( AccessibilityRectInfo  other)

Constructor, with another accessibility rect info object.

Parameters
[in]otherAnother accessibility rect info object.

Member Function Documentation

◆ delete()

synchronized void com.foxit.sdk.addon.accessibility.AccessibilityRectInfo.delete ( )

Clean up related C++ resources immediately.

Returns
None.
Note
Once this function is called, current object cannot be used anymore.

◆ getData_index()

com.foxit.sdk.addon.accessibility.AccessibilityRectInfo.getData_index ( )

Get index that maps this rectangle back to its entry in the page's reading-order data.

Returns
Index that maps this rectangle back to its entry in the page's reading-order data. A non-negative value is a valid order-data index; -1 means this rectangle is not associated with any order data (the default).

◆ getRect()

com.foxit.sdk.addon.accessibility.AccessibilityRectInfo.getRect ( )

Get the rectangle.

Returns
The rectangle.

◆ set()

void com.foxit.sdk.addon.accessibility.AccessibilityRectInfo.set ( RectF  rect,
int  data_index 
)

Set value.

Parameters
[in]rectThe rectangle.
[in]data_indexIndex that maps this rectangle back to its entry in the page's reading-order data. Pass a non-negative order-data index, or -1 if this rectangle is not associated with any order data.
Returns
None.

◆ setData_index()

com.foxit.sdk.addon.accessibility.AccessibilityRectInfo.setData_index ( int  value)

Set index that maps this rectangle back to its entry in the page's reading-order data.

Parameters
[in]valueIndex that maps this rectangle back to its entry in the page's reading-order data. A non-negative value is a valid order-data index; -1 means this rectangle is not associated with any order data (the default).
Returns
None.

◆ setRect()

com.foxit.sdk.addon.accessibility.AccessibilityRectInfo.setRect ( RectF  value)

Set the rectangle.

Parameters
[in]valueThe rectangle.
Returns
None.