pdf-parse
Preparing search index...
index
Line
Class Line
Hierarchy (
View Summary
)
Shape
Line
Index
Constructors
constructor
Properties
direction
from
gaps
intersections
length
to
tolerance
Accessors
normalized
valid
Methods
add
Gap
add
Intersection
Point
contains
Point
intersection
transform
apply
Transform
Constructors
constructor
new
Line
(
from
:
Point
,
to
:
Point
)
:
Line
Parameters
from
:
Point
to
:
Point
Returns
Line
Properties
direction
direction
:
LineDirection
= LineDirection.None
from
from
:
Point
gaps
gaps
:
Line
[]
= []
intersections
intersections
:
Point
[]
= []
length
length
:
number
= 0
to
to
:
Point
Static
tolerance
tolerance
:
number
= 2
Accessors
normalized
get
normalized
()
:
Line
Returns
Line
valid
get
valid
()
:
boolean
Returns
boolean
Methods
add
Gap
addGap
(
line
:
Line
)
:
void
Parameters
line
:
Line
Returns
void
add
Intersection
Point
addIntersectionPoint
(
point
:
Point
)
:
void
Parameters
point
:
Point
Returns
void
contains
Point
containsPoint
(
p
:
Point
)
:
boolean
Parameters
p
:
Point
Returns
boolean
intersection
intersection
(
line
:
Line
)
:
Point
|
undefined
Parameters
line
:
Line
Returns
Point
|
undefined
transform
transform
(
matrix
:
number
[]
)
:
this
Parameters
matrix
:
number
[]
Returns
this
Static
apply
Transform
applyTransform
(
p
:
number
[]
,
m
:
number
[]
)
:
number
[]
Parameters
p
:
number
[]
m
:
number
[]
Returns
number
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
direction
from
gaps
intersections
length
to
tolerance
Accessors
normalized
valid
Methods
add
Gap
add
Intersection
Point
contains
Point
intersection
transform
apply
Transform
pdf-parse
Loading...