Struct OcrBaseline

Namespace
SoftZenPdf.Ocr
Assembly
SoftZenPdf.Ocr.dll

The baseline of a line of text, from its left end to its right end, in image pixels from the top-left corner.

public readonly record struct OcrBaseline : IEquatable<OcrBaseline>
Implements
Inherited Members

Constructors

OcrBaseline(int, int, int, int)

The baseline of a line of text, from its left end to its right end, in image pixels from the top-left corner.

Properties

X1

X coordinate of the left end.

X2

X coordinate of the right end.

Y1

Y coordinate of the left end.

Y2

Y coordinate of the right end.

Methods

YAt(double)

The y coordinate of the baseline at x, following its slope.