Class CharacterLevelAnnotations
Constructors
constructor
- new CharacterLevelAnnotations(source?): CharacterLevelAnnotations
Parameters
Optional source: DeepPartial<CharacterLevelAnnotations>
Properties
Readonly apiVersion
apiVersion: string
Methods
serialize
- serialize(config?): {
annotations?: {
contrast?: number;
fontSize?: number;
ocrability?: number;
orientation?: number;
orientationDeviation?: number;
orientationNormalized?: number;
plotCenter?: Point;
plotHeight?: number;
plotWidth?: number;
serialize?(config?): { readonly plotCenter?: Point | undefined; readonly plotWidth?: number | undefined; readonly plotHeight?: number | undefined; readonly ocrability?: number | undefined; ... 5 more ...; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; };
}[];
apiVersion?: string;
serialize?(config?): { readonly annotations?: { readonly plotCenter?: Point | undefined; readonly plotWidth?: number | undefined; readonly plotHeight?: number | undefined; readonly ocrability?: number | undefined; ... 5 more ...; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; }[] | undefined; readonly apiVe...;
} Returns {
annotations?: {
contrast?: number;
fontSize?: number;
ocrability?: number;
orientation?: number;
orientationDeviation?: number;
orientationNormalized?: number;
plotCenter?: Point;
plotHeight?: number;
plotWidth?: number;
serialize?(config?): { readonly plotCenter?: Point | undefined; readonly plotWidth?: number | undefined; readonly plotHeight?: number | undefined; readonly ocrability?: number | undefined; ... 5 more ...; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; };
}[];
apiVersion?: string;
serialize?(config?): { readonly annotations?: { readonly plotCenter?: Point | undefined; readonly plotWidth?: number | undefined; readonly plotHeight?: number | undefined; readonly ocrability?: number | undefined; ... 5 more ...; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; }[] | undefined; readonly apiVe...;
}
Optional Readonly annotations?: {
contrast?: number;
fontSize?: number;
ocrability?: number;
orientation?: number;
orientationDeviation?: number;
orientationNormalized?: number;
plotCenter?: Point;
plotHeight?: number;
plotWidth?: number;
serialize?(config?): { readonly plotCenter?: Point | undefined; readonly plotWidth?: number | undefined; readonly plotHeight?: number | undefined; readonly ocrability?: number | undefined; ... 5 more ...; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; };
}[]
Optional Readonly apiVersion?: string
serialize?:function
- serialize(config?): { readonly annotations?: { readonly plotCenter?: Point | undefined; readonly plotWidth?: number | undefined; readonly plotHeight?: number | undefined; readonly ocrability?: number | undefined; ... 5 more ...; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; }[] | undefined; readonly apiVe...
Returns { readonly annotations?: { readonly plotCenter?: Point | undefined; readonly plotWidth?: number | undefined; readonly plotHeight?: number | undefined; readonly ocrability?: number | undefined; ... 5 more ...; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; }[] | undefined; readonly apiVe...
Character level annotations, contains information about each character in the document.