react-native-scanbot-sdk
Version:
Scanbot Document and Barcode Scanner SDK React Native Plugin for Android and iOS
55 lines (53 loc) • 1.72 kB
TypeScript
import { ToJsonConfiguration } from '../../utils/json/JsonSerializationTypes';
import { DeepPartial, PartiallyConstructible, Point } from '../../utils/utils';
/**
Represents a line segment in 2D space.
*/
export declare class LineSegmentInt extends PartiallyConstructible {
/**
Start point of the segment.
*/
readonly start: Point;
/**
End point of the segment.
*/
readonly end: Point;
/** @param source {@displayType `DeepPartial<LineSegmentInt>`} */
constructor(source?: DeepPartial<LineSegmentInt>);
serialize(config?: ToJsonConfiguration): DeepPartial<LineSegmentInt>;
}
/**
Represents a line segment in 2D space.
*/
export declare class LineSegmentFloat extends PartiallyConstructible {
/**
Start point of the segment.
*/
readonly start: Point;
/**
End point of the segment.
*/
readonly end: Point;
/** @param source {@displayType `DeepPartial<LineSegmentFloat>`} */
constructor(source?: DeepPartial<LineSegmentFloat>);
serialize(config?: ToJsonConfiguration): DeepPartial<LineSegmentFloat>;
}
/**
Aspect ratio is the ratio of the width to the height of an image or screen.
*/
export declare class AspectRatio extends PartiallyConstructible {
/**
Width component of the aspect ratio.
Default is 1.0
*/
readonly width: number;
/**
Height component of the aspect ratio.
Default is 1.0
*/
readonly height: number;
/** @param source {@displayType `DeepPartial<AspectRatio>`} */
constructor(source?: DeepPartial<AspectRatio>);
serialize(config?: ToJsonConfiguration): DeepPartial<AspectRatio>;
}
//# sourceMappingURL=Geometry.d.ts.map