Package | com.distriqt.extension.ocr.events |
Class | public class OCREvent |
Inheritance | OCREvent flash.events.Event |
Property | Defined By | ||
---|---|---|---|
text : String
The text that was found as part of the recognise process
| OCREvent |
Method | Defined By | ||
---|---|---|---|
OCREvent(type:String, text:String, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor
| OCREvent | ||
clone():Event [override] | OCREvent |
Constant | Defined By | ||
---|---|---|---|
RECOGNISE : String = ocr:recognise [static]
Dispatched when the recognise process was completed successully. | OCREvent | ||
RECOGNISE_ERROR : String = ocr:recognise:error [static]
Dispatched when the recognise process encountered an error. | OCREvent |
text | property |
public var text:String
The text that was found as part of the recognise process
OCREvent | () | Constructor |
public function OCREvent(type:String, text:String, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor
Parameterstype:String | |
text:String | |
bubbles:Boolean (default = false )
| |
cancelable:Boolean (default = false )
|
clone | () | method |
override public function clone():Event
ReturnsEvent |
RECOGNISE | Constant |
public static const RECOGNISE:String = ocr:recognise
Dispatched when the recognise process was completed successully.
text
should contain the result of the recognition process.
RECOGNISE_ERROR | Constant |
public static const RECOGNISE_ERROR:String = ocr:recognise:error
Dispatched when the recognise process encountered an error.