ALDataPoint Class Reference

Inherits from NSObject
Declared in ALDataPoint.h

Overview

Specifies a DataPoint where in the ROI the interesting part is.

  area

The area where in the ROI the text is found.

@property (nonatomic, assign) CGRect area

Declared In

ALDataPoint.h

  indexPath

The IndexPath for this text. Will be used as a refernece for the physical location of the DataPoint in the ROI.

@property (nonatomic, strong, readonly) ALIndexPath *indexPath

Declared In

ALDataPoint.h

  identifier

The identifier for this DataPoint. Should be the same for connected texts which will be interpretet together.

@property (nonatomic, strong, readonly) NSString *identifier

Declared In

ALDataPoint.h

– initWithArea:indexPath:identifier:

Initialise a new DataPoint.

- (instancetype)initWithArea:(CGRect)area indexPath:(ALIndexPath *)indexPath identifier:(NSString *)identifier

Parameters

area

The area where the DataPoint in the ROI is found.

indexPath

The indexPath for this DataPoint.

identifier

An identifier for this DataPoint.

Return Value

New DataPoint object.

Declared In

ALDataPoint.h

– initWithDictionary:

Initialise a new DataPoint with a representing dictionary.

- (instancetype)initWithDictionary:(NSDictionary *)dictionary

Parameters

dictionary

A dictionary representing a DataPoint object.

Return Value

New DataPoint object.

Declared In

ALDataPoint.h

+ dataPointForDictionary:

Initialise ether a new DigitDataPoint or TextDataPoint depending on the dictionary

+ (ALDataPoint *)dataPointForDictionary:(NSDictionary *)dictionary

Parameters

dictionary

The dictionary with the representing DataPoint.

Return Value

New Text -or DigitDataPoint object.

Declared In

ALDataPoint.h