Preparing search index...
The search index is not available
@vesoft-inc/veditor - v4.4.14
@vesoft-inc/veditor - v4.4.14
Utils
Path
Class Path
Hierarchy
Path
Index
Constructors
constructor
Properties
d
path
Command
path
Values
t
Command
Methods
get
Length
get
Point
At
Length
get
Total
Length
parse
Path
String
path2curve
path
To
Absolute
Constructors
constructor
new
Path
(
d
:
string
)
:
Path
Parameters
d:
string
Returns
Path
Properties
d
d
:
string
Static
path
Command
path
Command
:
RegExp
= ...
Static
path
Values
path
Values
:
RegExp
= ...
Static
t
Command
t
Command
:
RegExp
= ...
Methods
Private
get
Length
get
Length
(
d
:
string
, length
?:
number
)
:
any
Parameters
d:
string
Optional
length:
number
Returns
any
get
Point
At
Length
get
Point
At
Length
(
length
:
number
)
:
{
alpha
:
number
;
end
:
{
x
:
number
;
y
:
number
}
;
m
:
{
x
:
number
;
y
:
number
}
;
n
:
{
x
:
number
;
y
:
number
}
;
start
:
{
x
:
number
;
y
:
number
}
;
x
:
number
;
y
:
number
}
Parameters
length:
number
Returns
{
alpha
:
number
;
end
:
{
x
:
number
;
y
:
number
}
;
m
:
{
x
:
number
;
y
:
number
}
;
n
:
{
x
:
number
;
y
:
number
}
;
start
:
{
x
:
number
;
y
:
number
}
;
x
:
number
;
y
:
number
}
alpha
:
number
end
:
{
x
:
number
;
y
:
number
}
x
:
number
y
:
number
m
:
{
x
:
number
;
y
:
number
}
x
:
number
y
:
number
n
:
{
x
:
number
;
y
:
number
}
x
:
number
y
:
number
start
:
{
x
:
number
;
y
:
number
}
x
:
number
y
:
number
x
:
number
y
:
number
get
Total
Length
get
Total
Length
(
)
:
number
Returns
number
Private
parse
Path
String
parse
Path
String
(
d
:
string
)
:
any
[]
Parameters
d:
string
Returns
any
[]
Private
path2curve
path2curve
(
path
:
string
)
:
any
[]
Parameters
path:
string
Returns
any
[]
Private
path
To
Absolute
path
To
Absolute
(
pathString
:
any
)
:
any
[]
Parameters
pathString:
any
Returns
any
[]
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
@vesoft-
inc/veditor -
v4.4.14
Anchor
Line
Controller
Default
Line
Default
Node
Event
Graph
History
Line
Minimap
Node
Schema
Utils
Vector2
dom
Path
constructor
d
path
Command
path
Values
t
Command
get
Length
get
Point
At
Length
get
Total
Length
parse
Path
String
path2curve
path
To
Absolute
Generated using
TypeDoc