DSRegionObjectElement
The DSRegionObjectElement class represents a basic element of a region object, including its type, location and reference to another element.
Definition
Assembly: DynamsoftCaptureVisionBundle.xcframework
- Objective-C
- Swift
@interface DSRegionObjectElement : NSObjectclass RegionObjectElement : NSObject
Methods
| Method | Description |
|---|---|
getLocation |
Gets the location of the region object, represented as a quadrilateral. |
getReferencedElement |
Gets the referenced element that supports the capturing of this element. |
getRegionObjectElementType |
Gets the type of the region object element, defined by the enumeration DSRegionObjectElementType. |
getImageData |
Gets the original image that produce this element. |
getLocation
Gets the location of the region object, represented as a Quadrilateral.
- Objective-C
- Swift
-(DSQuadrilateral*)getLocation;func getLocation() -> DSQuadrilateral?
Return Value
The location info of the element that defined in DSQuadrilateral.
getReferencedElement
Get the referenced element that supports the capturing of this element.
- Objective-C
- Swift
-(nullable DSRegionObjectElement*)getReferencedElement;func getReferencedElement() -> RegionObjectElement?
Return Value
The referenced element that supports the capturing of this element.
getType
Gets the type of the region object element, defined by the enumeration DSRegionObjectElementType.
- Objective-C
- Swift
- (DSRegionObjectElementType)getType;func getType() -> RegionObjectElementType
Return Value
The type of the region object element.
getImageData
Gets the original image that produce this element.
- Objective-C
- Swift
-(nullable DSImageData *)getImageData;func getImageData() -> ImageData?
Return Value
A DSImageData object represents the original image that produce this element.