跳转到主要内容
separators 数组中的元素是描述在页面上检测到的分隔线的对象,即构成表格或分隔文档各部分的条带和线条。

属性

数据类型

描述

position

rect

文档中分隔线所在矩形区域的坐标。

confidence

confidence

该值始终等于 -1。

color

integer

分隔线的颜色。

thickness

integer

分隔线的宽度,以像素为单位。

type

string enum

分隔线类型。

可能的值:

  • unknown
  • solid
  • dotted

endPoints

object

分隔线起点和终点的坐标,以像素为单位。

属性 (数据类型为 integer) :

  • startX
  • startY
  • endX
  • endY