TPDFVisualRect

資料類型、文件比較、描繪

描述

TPDFVisualRect 是以左上為原點的像素矩形。Right 與 Bottom 為排他,因此涵蓋的欄是 Left 到 Right - 1。

同一個記錄用來描述忽略區域、變更邊界框與變更區域的邊界。

語法

Delphi

TPDFVisualRect = record
  Left, Top, Right, Bottom: Integer;
end;

欄位

Left第一個涵蓋的欄
Top第一個涵蓋的列
Right剛過涵蓋區域的欄
Bottom剛過涵蓋區域的列

備註

空矩形的 Left 大於或等於 Right,或 Top 大於或等於 Bottom;處於此狀態的忽略矩形會被跳過。

忽略矩形超出邊緣時,座標會夾限到點陣圖。

另請參閱

TPDFVisualRectArray, TPDFVisualRegion, TPDFVisualCompareOptions