ALDigitDataPoint Class Reference

Inherits from ALDataPoint : NSObject
Declared in ALDigitDataPoint.h

Overview

The ALDigitDataPoint describes the position, segments, the result combinations and the relationship to other digits for a single digit.

  segments

Array with all the segments for this digit.

@property (nonatomic, strong, readonly) NSArray *segments

Declared In

ALDigitDataPoint.h

  qualitySegments

Array with all the segments which are used for the quality or accurracy of the digit.

@property (nonatomic, strong, readonly) NSArray *qualitySegments

Declared In

ALDigitDataPoint.h

  segmentResultPattern

Dictionary with all the valid segment patterns and the result object for the patterns.

@property (nonatomic, strong, readonly) NSDictionary *segmentResultPattern

Declared In

ALDigitDataPoint.h

  italicOffset

Dictionary with all the valid segment patterns and the result object for the patterns.

@property (nonatomic, readonly) NSInteger italicOffset

Declared In

ALDigitDataPoint.h

– initWithArea:indexPath:identifier:italicOffset:segments:qualitySegments:segmentResultPattern:

Designated initializer for an digit spec.

- (instancetype)initWithArea:(CGRect)area indexPath:(ALIndexPath *)indexPath identifier:(NSString *)identifier italicOffset:(NSInteger)italicOffset segments:(NSArray *)segments qualitySegments:(NSArray *)qualitySegments segmentResultPattern:(NSDictionary *)segmentResultPattern

Parameters

area

The area where in the display the digit is found.

indexPath

The indexPath for the specified digit.

identifier

The identifier for the digit.

segments

Array with all the segments for this digit.

qualitySegments

Array with all the segments which should be used for the calculation of the quality of the digit.

segmentResultPattern

Dictionary with all the valid segment patterns and the result object for the patterns.

Return Value

A new instance of ALDigitDataPoint

Declared In

ALDigitDataPoint.h

– initWithArea:indexPath:identifier:italicOffset:segmentResultPattern:

Designated initializer for an digit spec.

- (instancetype)initWithArea:(CGRect)area indexPath:(ALIndexPath *)indexPath identifier:(NSString *)identifier italicOffset:(NSInteger)italicOffset segmentResultPattern:(NSDictionary *)segmentResultPattern

Parameters

area

The area where in the display the digit is found.

indexPath

The indexPath for the specified digit.

identifier

The identifier for the digit.

segmentResultPattern

Dictionary with all the valid segment patterns and the result object for the patterns.

Return Value

A new instance of ALDigitDataPoint

Declared In

ALDigitDataPoint.h

– initWithArea:indexPath:identifier:italicOffset:

Designated initializer for an digit spec.

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

Parameters

area

The area where in the display the digit is found.

indexPath

The indexPath for the specified digit.

identifier

The identifier for the digit.

Return Value

A new instance of ALDigitDataPoint

Declared In

ALDigitDataPoint.h

– initWithArea:indexPath:identifier:

Designated initializer for an digit spec.

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

Parameters

area

The area where in the display the digit is found.

indexPath

The indexPath for the specified digit.

identifier

The identifier for the digit.

Return Value

A new instance of ALDigitDataPoint

Declared In

ALDigitDataPoint.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